Remove gradle-wrapper arg

It is the default behavior to use the project's Gradle wrapper if available.
This commit is contained in:
Tad Fisher
2019-10-16 14:51:54 -07:00
parent 31c3174e4f
commit 2400aa55d0
4 changed files with 33 additions and 11 deletions

View File

@@ -35,6 +35,13 @@ application {
}
tasks {
(run) {
dependsOn(installDist)
doFirst {
jvmArgs = listOf("-Dorg.nixos.gradle2nix.share=${installDist.get().destinationDir.resolve("share")}")
}
}
startScripts {
doLast {
unixScript.writeText(unixScript.readText().replace("@APP_HOME@", "\$APP_HOME"))