Skip to content

Commit

Permalink
fix javadoc & sources publication.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkohout committed Dec 12, 2022
1 parent 48035dc commit ccd44b1
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

group = 'io.github.robocup-logistics'
archivesBaseName = "java-sdk"
version = '0.1.10.1'
version = '0.1.10.2'

description = ""

Expand Down Expand Up @@ -54,14 +54,9 @@ signing {
}
}

task sourceJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allJava
}

task packageJavadoc(type: Jar) {
from javadoc
classifier = 'javadoc'
java {
withSourcesJar()
withJavadocJar()
}

publishing {
Expand All @@ -86,8 +81,6 @@ publishing {
publications {
mavenJava(MavenPublication) {
from(components.java)
artifact sourceJar
artifact packageJavadoc
pom {
name = 'Java SDK'
description = 'Java SDK for the RoboCup Logistics League'
Expand Down

0 comments on commit ccd44b1

Please sign in to comment.