Created
February 4, 2014 08:39
-
-
Save mariogarcia/8800097 to your computer and use it in GitHub Desktop.
Launching a Groovy Console with your Gradle classpath
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(console, dependsOn: 'classes', type: JavaExec) { | |
main = 'groovy.ui.Console' | |
classpath = sourceSets.main.runtimeClasspath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cool and simple! \o/