@@ -22,7 +22,6 @@ plugins {
22
22
id " com.github.johnrengelman.shadow" version " 7.1.2"
23
23
id " maven-publish"
24
24
id " io.github.gradle-nexus.publish-plugin" version " 1.3.0" apply false
25
- id " org.owasp.dependencycheck" version " 12.1.0"
26
25
id " idea"
27
26
}
28
27
@@ -198,7 +197,7 @@ compileJava.dependsOn 'generateJava'
198
197
jar {
199
198
// thin classifier means that the non-shaded non-fat jar is still available
200
199
// but is opt-in since users will have to specify it.
201
- // classifier = 'thin'
200
+ classifier = ' thin'
202
201
203
202
from configurations. commonClasses. collect { zipTree(it) }
204
203
@@ -215,7 +214,7 @@ jar {
215
214
// application is expected to provide SLF4J in the classpath if desired.
216
215
shadowJar {
217
216
// No classifier means that the shaded jar becomes the default artifact
218
- // classifier = ''
217
+ classifier = ' '
219
218
220
219
configurations = [ project. configurations. internal ]
221
220
@@ -243,18 +242,18 @@ shadowJar {
243
242
}
244
243
245
244
task testJar (type : Jar , dependsOn : testClasses) {
246
- // classifier = 'test'
245
+ classifier = ' test'
247
246
from sourceSets. test. output
248
247
}
249
248
250
249
// custom tasks for creating source/javadoc jars
251
250
task sourcesJar (type : Jar , dependsOn : classes) {
252
- // classifier = 'sources'
251
+ classifier = ' sources'
253
252
from sourceSets. main. allSource
254
253
}
255
254
256
255
task javadocJar (type : Jar , dependsOn : javadoc) {
257
- // classifier = 'javadoc'
256
+ classifier = ' javadoc'
258
257
from javadoc. destinationDir
259
258
}
260
259
0 commit comments