chore: bump Gradle to 8.1.1 - #5814
Conversation
|
Seems to work on my setup (using Java 8 with tasks, createDist and test and Java 20 with tasks and rungui) |
9467864 to
f944bfc
Compare
1378278 to
f8a396c
Compare
6a4bb75 to
eb07c5c
Compare
|
I think this is more-or-less ready. The missing bit is that the current checksum-dependency-plugin produces a lot of warnings:
|
4221c95 to
e70ccb0
Compare
|
I've resolved the warnings, so I guess the PR is feature-complete. |
The PR upgrades to Gradle 8.1.1 and factors build logic to a set of files that compose together.
See https://docs.gradle.org/current/userguide/structuring_software_products.html
The end goal is to move the logic from
/build.gradle.kts, and/src/build.gradle.ktsto a coherent set of files inbuild-logic/The current state is
/build.gradle.kts661 lines -> 153 lines,/src/build.gradle.kts228 lines -> 0 lines (it no longer exists).File layout
Imagine there's
/src/core/build.gradle.ktsthat contains:It means
/src/core/build.gradle.ktsapplies all the bits frombuild-logic.jvm-published-library.gradle.kts.If you open
build-logic.jvm-published-library.gradle.kts, you'll seeWhich means
build-logic.jvm-published-library.gradle.ktscomposesbuild-logic.jvm-library.gradle.ktsandbuild-logic.java-published-library.gradle.kts.That means you can understand everything a given
build.gradle.ktsmeans by looking intopluginssection and following the links.Dependencies
Dependency versions are hard-coded within
build.gradle.kts. It will enable adding Renovate bot for bumping the versions in the future.TODO
ApacheJmeter_*versions)