![]() ![]() You need to add extensive documentation on how to set up the build environment, some custom build scripts to pick up the correct JDK version for the specific compile or test task, and a complex CI setup. This becomes even more complicated when your project has to support different JDK versions to compile itself or to run the tests against. One of the common user mistakes is using the wrong JDK version to compile the project, which leads to strange errors. ![]() Imagine you maintain a Gradle build setup for some JVM library or application. What is the Gradle JVM toolchain feature and how to use it? Issues with building Gradle JVM projects This feature provides a simple way to have a reproducible build independent from the user JDK, plus it reduces the complexity of working with multiple JDKs. In this blog post, we’ll tell you about one of the Gradle features that Kotlin has recently added support for – JVM toolchain. Maintaining Gradle build setups to have a reliable and reproducible build process is not always easy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |