mirror of
https://github.com/AppleCommander/applesingle.git
synced 2024-06-01 05:41:31 +00:00
Gradle tweaks: fix for Oracle javadoc doclint strictness; made the signing task a bit more intelligent.
This commit is contained in:
parent
f8741f9480
commit
2085559af7
|
@ -25,6 +25,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…
Reference in New Issue
Block a user