We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b1c8e8 commit 3517d65Copy full SHA for 3517d65
publish.gradle
@@ -6,10 +6,9 @@ task sourceJar(type: Jar) {
6
from sourceSets.main.allSource
7
}
8
9
-//task javadocJar(type: Jar, dependsOn: javadoc) {
10
-// classifier "javadoc"
11
-// from javadoc.destinationDir
12
-//}
+artifacts {
+ archives sourceJar
+}
13
14
publishing {
15
publications {
@@ -19,9 +18,6 @@ publishing {
19
18
artifact(sourceJar) {
20
classifier = 'sources'
21
22
-// artifact(javadocJar) {
23
-// classifier = 'javadoc'
24
-// }
25
26
pom {
27
name = 'JsonPathLite'
@@ -97,7 +93,6 @@ model {
97
93
tasks.generatePomFileForMavenJavaPublication {
98
94
destination = file("$buildDir/generated-pom.xml")
99
95
100
-
101
96
102
if (!publishLocal) {
103
model {
0 commit comments