Skip to content

Commit ccd44b1

Browse files
committed
fix javadoc & sources publication.
1 parent 48035dc commit ccd44b1

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

build.gradle

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88

99
group = 'io.github.robocup-logistics'
1010
archivesBaseName = "java-sdk"
11-
version = '0.1.10.1'
11+
version = '0.1.10.2'
1212

1313
description = ""
1414

@@ -54,14 +54,9 @@ signing {
5454
}
5555
}
5656

57-
task sourceJar(type: Jar) {
58-
classifier = 'sources'
59-
from sourceSets.main.allJava
60-
}
61-
62-
task packageJavadoc(type: Jar) {
63-
from javadoc
64-
classifier = 'javadoc'
57+
java {
58+
withSourcesJar()
59+
withJavadocJar()
6560
}
6661

6762
publishing {
@@ -86,8 +81,6 @@ publishing {
8681
publications {
8782
mavenJava(MavenPublication) {
8883
from(components.java)
89-
artifact sourceJar
90-
artifact packageJavadoc
9184
pom {
9285
name = 'Java SDK'
9386
description = 'Java SDK for the RoboCup Logistics League'

0 commit comments

Comments
 (0)