Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
18 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
}
}