build: Use Foojay Toolchains Convention Plugin

This commit adds the `org.gradle.toolchains.foojay-resolver-convention` plugin to the project, which will simplify the management of JDK toolchains by automatically discovering and provisioning them from the Foojay Discovery API.
This commit is contained in:
Moe Hamade 2026-02-13 16:00:35 +02:00
parent 6d44919f5b
commit ebeef8d71c
No known key found for this signature in database
GPG Key ID: 1E4B7112AA524645

View File

@ -5,6 +5,9 @@ pluginManagement {
gradlePluginPortal()
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {