Code polish

This commit is contained in:
nathan 2018-06-20 17:29:09 +02:00
parent 5ff4686e86
commit 2e27c0b6c1

View File

@ -188,7 +188,7 @@ project('Utilities') {
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
options.encoding = 'UTF-8' options.encoding = 'UTF-8'
options.bootstrapClasspath = files("/jre/lib/rt.jar") // options.bootstrapClasspath = files("/jre/lib/rt.jar")
sourceCompatibility = JavaVersion.VERSION_1_6 sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6 targetCompatibility = JavaVersion.VERSION_1_6
} }
@ -486,14 +486,14 @@ signing {
//} //}
def props = new Properties() //def props = new Properties()
file('../../sonatype.properties').withInputStream { props.load(it) } //file('../../sonatype.properties').withInputStream { props.load(it) }
//
task printProps { //task printProps {
doFirst { // doFirst {
println props.getProperty('developerName') // println props.getProperty('developerName')
} // }
} //}
// //
//tasks { //tasks {