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