Skip to content

Commit ace4cf5

Browse files
committed
Remove framework-errors duplicate strategy override
1 parent c588fd1 commit ace4cf5

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

buildSrc/src/main/kotlin/smithy-java.module-conventions.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ afterEvaluate {
4949
manifest {
5050
attributes(mapOf("Automatic-Module-Name" to moduleName))
5151
}
52+
duplicatesStrategy = DuplicatesStrategy.FAIL
5253
}
5354
}
5455

framework-errors/build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ afterEvaluate {
3636
}
3737
}
3838

39-
// TODO: This is needed because the type-mapping file is mapped (twice) in the source-set above and source-set below,
40-
// but really we shouldn't be doing that
41-
tasks.withType<Jar> {
42-
duplicatesStrategy = DuplicatesStrategy.INCLUDE
43-
}
44-
4539
tasks.named("compileJava") {
4640
dependsOn("smithyBuild")
4741
}

0 commit comments

Comments
 (0)