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 dcd0ecd commit b97a696Copy full SHA for b97a696
publish.gradle
@@ -1,11 +1,11 @@
1
apply plugin: 'maven-publish'
2
3
-task sourcesJar(type: Jar) {
+tasks.register( 'sourcesJar', Jar ) {
4
from sourceSets.main.allJava
5
archiveClassifier = 'sources'
6
}
7
8
-task javadocJar(type: Jar) {
+tasks.register( 'javadocJar', Jar ) {
9
from javadoc
10
archiveClassifier = 'javadoc'
11
0 commit comments