Created
June 7, 2011 05:52
-
-
Save sourcerebels/1011752 to your computer and use it in GitHub Desktop.
Simple Gradle script for building a Groovy project with JUnit 4.8.2
This file contains hidden or 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
apply plugin: 'groovy' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.10' | |
testCompile group: 'junit', name: 'junit', version: '4.8.2' | |
} |
This file contains hidden or 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
[edu@somachigun tinspect]$ gradle jar | |
:compileJava UP-TO-DATE | |
:compileGroovy UP-TO-DATE | |
:processResources UP-TO-DATE | |
:classes UP-TO-DATE | |
:jar UP-TO-DATE | |
BUILD SUCCESSFUL | |
Total time: 6.143 secs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment