Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Last active December 19, 2018 14:49
Show Gist options
  • Save recursivecodes/e97db5267247434fae1e96033393e690 to your computer and use it in GitHub Desktop.
Save recursivecodes/e97db5267247434fae1e96033393e690 to your computer and use it in GitHub Desktop.
task runServer(dependsOn: 'classes', type: JavaExec) {
System.setProperty('environment', 'prod')
dependsOn 'classes'
classpath = sourceSets.main.runtimeClasspath
main = 'codes.recursive.Bootstrap'
systemProperties = System.getProperties()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment