/gradle-console

Opens a console window that allows the user to play with his project code and dependencies

Primary LanguageGroovy

gradle-console

This plugin for Gradle allows you to easily interact with your Groovy and Java applications using the Groovy Console.

alt text

Just run gradle console and you will get a console window with all your runtime dependencies loaded for you. This is useful in case you need to interact your project dependencies or your source code in a fast and flexible way.

Installation

Just add the following snippet of code to your build.gradle file

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath group: 'net.carlosgsouza', name: 'gradle-console', version: '1.0'
    }
}

apply plugin: 'console'

Usage

Invoke the console task using gradle

gradle console

About this project

This is just the first version of this plugin and we are counting on your feedback to make it better! Don't hesitate to send us an e-mail, create an issue on GitHub or, even better, submit a pull request.

Acknowledgement

This plugin was created based on this post by Mike Hugo. Thanks, Mike!