Skip to content

Commit 6035192

Browse files
authored
Configure ShadowJar after recent breaking changes (#390)
1 parent 1073332 commit 6035192

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

build.gradle

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,18 @@ application {
128128
}
129129

130130
shadowJar {
131+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
131132
mergeServiceFiles()
132-
133-
dependencies {
134-
exclude('dist_webp_binaries/')
135-
}
133+
failOnDuplicateEntries = true
134+
135+
exclude('dist_webp_binaries/',
136+
'META-INF/LICENSE',
137+
'META-INF/LICENSE.txt',
138+
'META-INF/NOTICE',
139+
'META-INF/NOTICE.txt',
140+
'license/LICENSE',
141+
'license/LICENSE.dom-documentation.txt',
142+
'license/LICENSE.dom-software.txt',
143+
'license/NOTICE',
144+
'license/README.dom.txt')
136145
}

0 commit comments

Comments
 (0)