mirror of
https://github.com/AppleCommander/bastools.git
synced 2025-01-17 16:30:33 +00:00
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 {
|
signing {
|
||||||
|
// Only sign if we're uploading...
|
||||||
|
required { gradle.taskGraph.hasTask("uploadArchives") }
|
||||||
sign configurations.archives
|
sign configurations.archives
|
||||||
}
|
}
|
||||||
|
|
||||||
|
7
build.gradle
Normal file
7
build.gradle
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
if (JavaVersion.current().isJava8Compatible()) {
|
||||||
|
allprojects {
|
||||||
|
tasks.withType(Javadoc) {
|
||||||
|
options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user