Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

beatbrot
Copy link
Contributor

@beatbrot beatbrot commented Oct 18, 2024

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.

@beatbrot beatbrot force-pushed the compile-options-to-build-logic branch from 1436d62 to e7bf588 Compare October 18, 2024 16:05
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.88%. Comparing base (2c7db77) to head (737d549).
Report is 148 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2026      +/-   ##
============================================
+ Coverage     80.44%   81.88%   +1.43%     
- Complexity     4337     4610     +273     
============================================
  Files           441      448       +7     
  Lines         13534    14443     +909     
  Branches       1707     1826     +119     
============================================
+ Hits          10888    11827     +939     
+ Misses         2008     1939      -69     
- Partials        638      677      +39     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@beatbrot beatbrot force-pushed the compile-options-to-build-logic branch from e7bf588 to c98b28b Compare October 18, 2024 16:15
Moving these "uninteresting" options to build-logic cleans up
the build.gradle file and makes it more readable
@beatbrot beatbrot marked this pull request as ready for review October 18, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant