Skip to content

Instantly share code, notes, and snippets.

@mariogarcia
Created February 4, 2014 08:39
Show Gist options
  • Save mariogarcia/8800097 to your computer and use it in GitHub Desktop.
Save mariogarcia/8800097 to your computer and use it in GitHub Desktop.
Launching a Groovy Console with your Gradle classpath
task(console, dependsOn: 'classes', type: JavaExec) {
main = 'groovy.ui.Console'
classpath = sourceSets.main.runtimeClasspath
}
@mgdelacroix
Copy link

Cool and simple! \o/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment