Created
February 8, 2013 06:56
-
-
Save xconnecting/4737174 to your computer and use it in GitHub Desktop.
[Gradle] Execute Java Application
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
apply plugin: 'java' | |
apply plugin: 'eclipse' | |
task execJava (type: JavaExec) { | |
classpath = sourceSets.main.runtimeClasspath | |
main = "example.Main" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment