Gradle tweaks: fix for Oracle javadoc doclint strictness; made the signing task a bit more intelligent.
This commit is contained in:
parent
88cb3d18da
commit
f6d2a81bb6
|
@ -26,6 +26,8 @@ artifacts {
|
|||
}
|
||||
|
||||
signing {
|
||||
// Only sign if we're uploading...
|
||||
required { gradle.taskGraph.hasTask("uploadArchives") }
|
||||
sign configurations.archives
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
if (JavaVersion.current().isJava8Compatible()) {
|
||||
allprojects {
|
||||
tasks.withType(Javadoc) {
|
||||
options.addStringOption('Xdoclint:none', '-quiet')
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue