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

Grails 7: set duplicatesStrategy for AbstractArchiveTasks #13647

Closed
jamesfredley opened this issue Sep 18, 2024 · 1 comment
Closed

Grails 7: set duplicatesStrategy for AbstractArchiveTasks #13647

jamesfredley opened this issue Sep 18, 2024 · 1 comment

Comments

@jamesfredley
Copy link
Contributor

jamesfredley commented Sep 18, 2024

Issue description

Currently a Grails 7 application will require specifying the duplicatesStrategy for the following tasks.

Ideally we can define this at a higher level, so it is not necessary to set it in each Grails projects/application.

Initial PR: https://github.com/grails/grails-core/pull/13648/files

bootJar {
    duplicatesStrategy = duplicatesStrategy.INCLUDE
}

distTar {
    duplicatesStrategy = duplicatesStrategy.INCLUDE
}

distZip {
    duplicatesStrategy = duplicatesStrategy.INCLUDE
}

Examples

https://github.com/grails/grails-async/blob/7.0.x/examples/pubsub-demo/build.gradle#L55-L65

https://github.com/grails/grails-views/blob/577d1c5bea1d88d446dbc7d48f950bfe3160fb0e/examples/functional-tests/build.gradle#L60-L66

@jamesfredley jamesfredley linked a pull request Sep 18, 2024 that will close this issue
@jamesfredley
Copy link
Contributor Author

Replaced by grails/grails-gradle-plugin#335

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 a pull request may close this issue.

1 participant