You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2021/09/18 12:56:41 UTC
[groovy] 01/01: Fix the failing dist build
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch danielsun/tweak-dist
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 8f8e9a5c8740de09744600d439b443d453f233cb
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Sep 18 20:56:02 2021 +0800
Fix the failing dist build
---
build.gradle | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/build.gradle b/build.gradle
index 7507b67..bd9df9b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -185,6 +185,12 @@ tasks.withType(AbstractCopyTask).configureEach {
it.duplicatesStrategy = DuplicatesStrategy.WARN
}
+allprojects {
+ tasks.withType(Copy).all {
+ duplicatesStrategy 'include'
+ }
+}
+
tasks.named('jar') {
metaInf {
from("$projectDir/licenses/LICENSE-JARJAR")