Fix jakarta sources transformation issues

This commit is contained in:
Christian Beikov 2021-06-16 08:37:14 +02:00
parent 9630ca9a7f
commit 107849c3c8
2 changed files with 8 additions and 0 deletions

View File

@ -229,6 +229,10 @@ task copyBundleResources (type: Copy) {
}
processTestResources.dependsOn copyBundleResources
sourcesJar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
task testJar(type: Jar, dependsOn: testClasses) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveClassifier.set( 'test' )

View File

@ -71,6 +71,10 @@ jar {
}
}
sourcesJar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
task testJar(type: Jar, dependsOn: testClasses) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveClassifier.set( 'test' )