Rather than applying the toolchain plugin in settings.gradle like:
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.6.0'
}
as I have many (100+) projects is it possible to instead apply it to all projects via a global init script in ~/.gradle/init.d?
Within an init script I already have a
settingsEvaluated { settings ->
settings.pluginManagement {
repositories {
}
}
}
block to configure where to download plugins from in addition to the Gradle Plugins Portal, rather than having a pluginManagment block in the settings.gradle file in each project, but there doesn’t appear to be an equivalent
settingsEvaluated { settings ->
settings.plugin {
}
}