-
Notifications
You must be signed in to change notification settings - Fork 471
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
Gradle: Configure compiler options via build-logic #2026
Gradle: Configure compiler options via build-logic #2026
Conversation
1436d62
to
e7bf588
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2026 +/- ##
============================================
+ Coverage 80.44% 81.80% +1.35%
- Complexity 4337 4614 +277
============================================
Files 441 448 +7
Lines 13534 14463 +929
Branches 1707 1830 +123
============================================
+ Hits 10888 11832 +944
+ Misses 2008 1954 -54
- Partials 638 677 +39 ☔ View full report in Codecov by Sentry. |
e7bf588
to
c98b28b
Compare
Moving these "uninteresting" options to build-logic cleans up the build.gradle file and makes it more readable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @beatbrot for the change.
@leonard84 can you also have a look?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR
Thank you very much for the review :) |
Moves some of the "uninteresting" options to build-logic to clean up
<projectname>.gradle
files.The basic idea of this PR is that much of the tedious configuration shall happen in the spockframework.base plugin.
All subprojects apply that plugin and profit from the abstraction.
"Interesting stuff" like declaration of dependencies shall still happen in
<projectname>.gradle
files.I'd like to expand this idea , but I want to keep the PRs small and start with the most simple stuff first.