From: Hiroshi Miura Date: Tue, 12 May 2020 22:50:26 +0000 (+0900) Subject: Gradle: update javadoc and sourcejar generation config X-Git-Tag: v0.10.0~58 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=857303f5c1482125640e57f45491f5b0a34b67f3;p=dictzip-java%2Fdictzip-java.git Gradle: update javadoc and sourcejar generation config Signed-off-by: Hiroshi Miura --- diff --git a/build.gradle b/build.gradle index 781f06c..77a5986 100644 --- a/build.gradle +++ b/build.gradle @@ -44,16 +44,13 @@ subprojects { options.compilerArgs << "-Xlint:deprecation" << "-Xlint:unchecked" } - javadoc { - options.locale = 'en_US' - } - - task sourcesJar(type: Jar, dependsOn: classes) { - from sourceSets.main.allSource + java { + withSourcesJar() + withJavadocJar() } - task javadocJar(type: Jar, dependsOn: javadoc) { - from javadoc.destinationDir + javadoc { + options.locale = 'en_US' } artifacts {