Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 472 Bytes
apply plugin: 'application'
mainClassName = "com.myapp.Main"
applicationName = "myapp"
distributions {
main {
baseName = 'myapp'
}
}
tasks.startScripts {
defaultJvmOpts = ["-server", "-Xmx2048m", "-XX:+AggressiveOpts" ]
doLast {
def unixScriptFile = file getUnixScript()
unixScriptFile.text = unixScriptFile.text.replace('CLASSPATH=$APP_HOME/lib', 'CLASSPATH=$APP_HOME/config/:$APP_HOME/lib')
delete windowsScript
}
}