Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt Gradle Toolchain for the JDK #2343

Closed
wants to merge 1 commit into from

Commits on Jun 29, 2022

  1. Adopt Gradle Toolchain for the JDK

    Adopting the Gradle Toolchain for the JDK will make the build _safer_ in machines that have multiple JDKs
    installed and that by mistake can build the project using a JDK higher than the intended.
    
    As defined in [Gradle's docs](https://docs.gradle.org/current/userguide/toolchains.html), the toolchains will give us...
    
    > Executing the build (e.g. using gradle check) will now handle several things for you and others running your build
    > Setup all compile, test and javadoc tasks to use the defined toolchain which may be different than the one Gradle itself uses
    > Gradle detects locally installed JVMs
    > Gradle chooses a JRE/JDK matching the requirements of the build (in this case a JVM supporting Java 8)
    > If no matching JVM is found, it will automatically download a matching JDK from AdoptOpenJDK
    berngp committed Jun 29, 2022
    Copy the full SHA
    b6a8ccd View commit details
    Browse the repository at this point in the history