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.9.0 (latest)
Created 02 December 2024.
- Provide an x86-64 based Java version when ARM64 is requested from macOS and none is available
Add this plugin to your build using the plugins DSL:
plugins {
id("org.gradle.toolchains.foojay-resolver") version "0.9.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("org.gradle.toolchains.foojay-resolver:org.gradle.toolchains.foojay-resolver.gradle.plugin:0.9.0") }
It can then be applied in the precompiled script plugin:plugins { id("org.gradle.toolchains.foojay-resolver") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("org.gradle.toolchains.foojay-resolver:org.gradle.toolchains.foojay-resolver.gradle.plugin:0.9.0") } } apply(plugin = "org.gradle.toolchains.foojay-resolver")
- Applying plugins to all subprojects .