Created
December 25, 2013 19:09
-
-
Save granthenke/8126000 to your computer and use it in GitHub Desktop.
Runs code from the project the build script is building.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task runMyCode(dependsOn: 'classes', type: JavaExec) { | |
main = 'com.my.Code' | |
classpath = sourceSets.main.runtimeClasspath | |
args "arg1", "arg2" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment