Skip to content

Commit fe3ae0f

Browse files
committed
Configure processResources to handle duplicate plugin descriptor files
- java-gradle-plugin auto-generates plugin descriptors - We also have them in source for consistency with other plugins - Set duplicatesStrategy to INCLUDE to allow both (they should be identical)
1 parent 95730c0 commit fe3ae0f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ apply plugin: 'maven-publish'
1313

1414
group = 'de.inetsoftware.gradle'
1515

16+
// Configure processResources to handle duplicate plugin descriptor files
17+
// java-gradle-plugin generates them, but we also have them in source for consistency
18+
processResources {
19+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
20+
}
21+
1622
repositories {
1723
mavenCentral()
1824
}

0 commit comments

Comments
 (0)