File tree Expand file tree Collapse file tree 1 file changed +10
-19
lines changed
Expand file tree Collapse file tree 1 file changed +10
-19
lines changed Original file line number Diff line number Diff line change 1- import com.github.jengelman.gradle.plugins.shadow.transformers.PreserveFirstFoundResourceTransformer
21import org.apache.tools.ant.taskdefs.condition.Os
32
43plugins {
@@ -131,24 +130,16 @@ application {
131130shadowJar {
132131 duplicatesStrategy = DuplicatesStrategy . INCLUDE
133132 mergeServiceFiles()
134-
135- transform(PreserveFirstFoundResourceTransformer ) {
136- resources. addAll(
137- ' META-INF/LICENSE' ,
138- ' META-INF/LICENSE.txt' ,
139- ' META-INF/NOTICE' ,
140- ' META-INF/NOTICE.txt' ,
141- ' license/LICENSE' ,
142- ' license/LICENSE.dom-documentation.txt' ,
143- ' license/LICENSE.dom-software.txt' ,
144- ' license/NOTICE' ,
145- ' license/README.dom.txt'
146- )
147- }
148-
149133 failOnDuplicateEntries = true
150134
151- dependencies {
152- exclude(' dist_webp_binaries/' )
153- }
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' )
154145}
You can’t perform that action at this time.
0 commit comments