jvmfinder is a Gradle toolchains resolver implementation that uses, where possible, vendor-specific APIs to provision
toolchains. It can be used in place of or in addition to the foojay resolver.
To get started, add the following to your settings.gradle:
plugins {
id "dev.lukebemish.jvmfinder-convention" version "<...>"
}If you want to add te resolver without automatically configuring toolchain repositories, you can use the non-convention plugin:
plugins {
id "dev.lukebemish.jvmfinder" version "<...>"
}Currently, the following JVM distributions are supported:
- Amazon Corretto
- Adoptium (Eclipse Temurin)
- IBM Semeru (through Adoptium Marketplace)
- Microsoft Build of OpenJDK (through Adoptium Marketplace)
- Azul Zulu
- Oracle GraalVM (somewhat experimental support)
jvmfinder also offers a resolver that uses the same index of JVMs that jetbrains IDEs (and their Amper incubator) do.
To use, apply the dev.lukebemish.jvmfinder-jetbrains-convention plugin. This can be used in addition to or in place of the base plugin (and foojay).