Signed-off-by: Hiroshi Miura <miurahr@linux.com>
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 {