Skip to content

Commit 3517d65

Browse files
committed
correctly sign artifacts
1 parent 1b1c8e8 commit 3517d65

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

publish.gradle

+3-8
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ task sourceJar(type: Jar) {
66
from sourceSets.main.allSource
77
}
88

9-
//task javadocJar(type: Jar, dependsOn: javadoc) {
10-
// classifier "javadoc"
11-
// from javadoc.destinationDir
12-
//}
9+
artifacts {
10+
archives sourceJar
11+
}
1312

1413
publishing {
1514
publications {
@@ -19,9 +18,6 @@ publishing {
1918
artifact(sourceJar) {
2019
classifier = 'sources'
2120
}
22-
// artifact(javadocJar) {
23-
// classifier = 'javadoc'
24-
// }
2521

2622
pom {
2723
name = 'JsonPathLite'
@@ -97,7 +93,6 @@ model {
9793
tasks.generatePomFileForMavenJavaPublication {
9894
destination = file("$buildDir/generated-pom.xml")
9995
}
100-
10196
}
10297
if (!publishLocal) {
10398
model {

0 commit comments

Comments
 (0)