mirror of
https://github.com/AppleCommander/ShrinkItArchive.git
synced 2025-01-03 01:30:42 +00:00
Gradle tweaks: fix for Oracle javadoc doclint strictness; made the signing task a bit more intelligent.
This commit is contained in:
parent
e6cddf25a7
commit
932d688b36
@ -23,6 +23,11 @@ jar {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
javadoc {
|
||||
options.addStringOption('Xdoclint:none', '-quiet')
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar) {
|
||||
classifier = 'javadoc'
|
||||
from javadoc
|
||||
@ -38,6 +43,8 @@ artifacts {
|
||||
}
|
||||
|
||||
signing {
|
||||
// Only sign if we're uploading...
|
||||
required { gradle.taskGraph.hasTask("uploadArchives") }
|
||||
sign configurations.archives
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user