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

refactor: Move forcing of groovy-xml to buildSrc #267

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

matrei
Copy link
Contributor

@matrei matrei commented Jan 10, 2024

When using Gradle 7.6 together with the Grails Gradle Plugin and groovy files in src/*/groovy there is a clash between the version bundled with Gradle (3.0.13) and the version loaded by the Grails Gradle Plugin (3.0.11). This forces the version to be compatible with Gradle for compiling groovy files in buildSrc.

This was previously included in the application's build.gradle leading to unnecessary clutter.

When using Gradle 7.6 together with the Grails Gradle Plugin and groovy files in src/*/groovy there is a clash between the version bundled with Gradle (3.0.13) and the version loaded by the Grails Gradle Plugin (3.0.11). This forces the version to be compatible with Gradle for compiling groovy files in buildSrc.

This was previously included in the application's build.gradle leading to unnecessary clutter.
Instead of hard-coding the Groovy version bundled with Gradle it is better to get it at runtime.
@puneetbehl puneetbehl merged commit 2eb6bf6 into grails:6.1.x Jan 15, 2024
6 checks passed
@matrei matrei deleted the matrei/gradle-groovy-force branch January 15, 2024 07:38
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.

2 participants