mirror of
https://github.com/AppleCommander/bastools.git
synced 2024-10-31 08:05:59 +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 {
|
||||
// Only sign if we're uploading...
|
||||
required { gradle.taskGraph.hasTask("uploadArchives") }
|
||||
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…
Reference in New Issue
Block a user