pkl icon indicating copy to clipboard operation
pkl copied to clipboard

Cosindering using Gradle Java toolchain to avoid Java 11 check

Open StefMa opened this issue 4 months ago • 7 comments

When you add gradle Java toolchain to this project it literally doesn't matter which jvm version users (potential contributors) are using to build the project. As long as it can run gradle, the toolchain will make sure that the correct jvm version will be downloaded and used to build the project.

See https://docs.gradle.org/current/userguide/toolchains.html

There is no need for the "is Java 11 check" in the settings.gradle anymore. Additionally, also CI would use that exact same jdk version.

Idea is coming from https://github.com/apple/pkl/issues/181

StefMa avatar Feb 18 '24 18:02 StefMa