Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.kts
to a coherent set of files inbuild-logic/
The current state is
/build.gradle.kts
661 lines -> 153 lines,/src/build.gradle.kts
228 lines -> 0 lines (it no longer exists).File layout
Imagine there's
/src/core/build.gradle.kts
that contains:It means
/src/core/build.gradle.kts
applies 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.kts
composesbuild-logic.jvm-library.gradle.kts
andbuild-logic.java-published-library.gradle.kts
.That means you can understand everything a given
build.gradle.kts
means by looking intoplugins
section 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)