Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 4e2de1a

Browse files
committed
Fix for sourcesJar and Gradle 7.1
1 parent bb23cad commit 4e2de1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ sourceSets.main.resources.srcDir 'src/main/java'
6464
task sourcesJar(type: Jar, dependsOn: classes) {
6565
classifier 'sources'
6666
from sourceSets.main.allSource
67+
// For unknown reasons, Gradle 7.1 (but not 6.x) is complaining that AbstractManager.java is a duplicate.
68+
duplicatesStrategy = "exclude"
6769
}
6870

6971
task javadocJar(type: Jar, dependsOn: javadoc) {

0 commit comments

Comments
 (0)