Skip to content

Commit b276d3a

Browse files
committed
improve configuration readability
1 parent e5d5ca9 commit b276d3a

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

build.gradle

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,17 @@ shadowJar {
133133
mergeServiceFiles()
134134

135135
transform(PreserveFirstFoundResourceTransformer) {
136-
resources.add('META-INF/LICENSE')
137-
resources.add('META-INF/LICENSE.txt')
138-
resources.add('META-INF/NOTICE')
139-
resources.add('META-INF/NOTICE.txt')
140-
resources.add('license/LICENSE')
141-
resources.add('license/LICENSE.dom-documentation.txt')
142-
resources.add('license/LICENSE.dom-software.txt')
143-
resources.add('license/NOTICE')
144-
resources.add('license/README.dom.txt')
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+
)
145147
}
146148

147149
failOnDuplicateEntries = true

0 commit comments

Comments
 (0)