Search Gradle plugins

org.gradle.toolchains.foojay-resolver-convention

Owner: Gradle

Toolchains resolver using the Foojay Disco API for resolving Java runtimes. Automatically configures toolchain management.

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-convention") 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-convention")

Using the plugins DSL:

plugins {
  id "org.gradle.toolchains.foojay-resolver-convention" 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-convention"

Learn how to apply plugins to subprojects