mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
Changed deprecated build notation
This commit is contained in:
10
build.gradle
10
build.gradle
@@ -68,10 +68,12 @@ if (JavaVersion.current().isJava8Compatible()) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task writeSshjVersionProperties << {
|
task writeSshjVersionProperties {
|
||||||
project.file("${project.buildDir}/resources/main").mkdirs()
|
doLast {
|
||||||
project.file("${project.buildDir}/resources/main/sshj.properties").withWriter { w ->
|
project.file("${project.buildDir}/resources/main").mkdirs()
|
||||||
w.append("sshj.version=${version}")
|
project.file("${project.buildDir}/resources/main/sshj.properties").withWriter { w ->
|
||||||
|
w.append("sshj.version=${version}")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user