We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3df7620 commit 774a19dCopy full SHA for 774a19d
build.gradle
@@ -46,13 +46,27 @@ license {
46
exclude 'introspectionQuery'
47
}
48
49
+// custom tasks for creating source/javadoc jars
50
+task sourcesJar(type: Jar, dependsOn: classes) {
51
+ classifier = 'sources'
52
+ from sourceSets.main.allSource
53
+}
54
+
55
+task javadocJar(type: Jar, dependsOn: javadoc) {
56
+ classifier = 'javadoc'
57
+ from javadoc.destinationDir
58
59
60
publishing {
61
publications {
62
MyPublication(MavenPublication) {
63
from components.java
64
groupId 'graphql-java-servlet'
65
artifactId project.name
66
version project.version
67
68
+ artifact sourcesJar
69
+ artifact javadocJar
70
71
72
0 commit comments