mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
Removed java version check from build file as it breaks project import
This commit is contained in:
@@ -75,7 +75,12 @@ signing {
|
|||||||
sign configurations.archives
|
sign configurations.archives
|
||||||
}
|
}
|
||||||
|
|
||||||
//project.tasks.signArchives.onlyIf { !version.contains("SNAPSHOT") }
|
// This disables the pedantic doclint feature of JDK8
|
||||||
|
if (JavaVersion.current().isJava8Compatible()) {
|
||||||
|
tasks.withType(Javadoc) {
|
||||||
|
options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
uploadArchives {
|
uploadArchives {
|
||||||
if(project.hasProperty('sonatypeUsername')) {
|
if(project.hasProperty('sonatypeUsername')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user