-
-
Save dsmiley/4c5d316707cf05e2cb82 to your computer and use it in GitHub Desktop.
Embedding groovy Console
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
def c = new groovy.ui.Console(getClass().classLoader, new Binding(project:project)) | |
c.run() | |
def doneLatch = new java.util.concurrent.CountDownLatch(1) | |
c.frame.windowClosed = {doneLatch.countDown()} | |
doneLatch.await() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I added the above to a gradle project to debug gradle build file making: