Skip to content

Instantly share code, notes, and snippets.

@xconnecting
Created February 8, 2013 07:22
Show Gist options
  • Save xconnecting/4737261 to your computer and use it in GitHub Desktop.
Save xconnecting/4737261 to your computer and use it in GitHub Desktop.
[Gradle] Execute Gradle Application or Script
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