Search Gradle plugins

org.gradle.toolchains.foojay-resolver

Owner: Gradle

Toolchains resolver using the Foojay Disco API for resolving Java runtimes

https://github.com/gradle/foojay-toolchains

Sources: https://github.com/gradle/disco-toolchains

Version 0.8.0 (latest)

0.8.0

Created 12 January 2024.

- Fix issues related to Java version parameter - Bump Gson dependency version

Using the plugins DSL:

plugins {
  id("org.gradle.toolchains.foojay-resolver") version "0.8.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.gradle.toolchains:foojay-resolver:0.8.0")
  }
}

apply(plugin = "org.gradle.toolchains.foojay-resolver")

Using the plugins DSL:

plugins {
  id "org.gradle.toolchains.foojay-resolver" version "0.8.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.gradle.toolchains:foojay-resolver:0.8.0"
  }
}

apply plugin: "org.gradle.toolchains.foojay-resolver"

Learn how to apply plugins to subprojects