Created
February 11, 2014 00:03
-
-
Save Wavesonics/8926788 to your computer and use it in GitHub Desktop.
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: 'java' | |
sourceSets { | |
main { | |
java { | |
srcDir 'src/main/java' | |
} | |
} | |
unitTest { | |
java.srcDir file('src/test/java') | |
} | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
testCompile 'commons-io:commons-io:2.4' | |
testCompile 'org.easytesting:fest-assert-core:+' | |
testCompile 'junit:junit:4.+' | |
} | |
task wrapper(type: Wrapper) { | |
gradleVersion = '1.10' | |
} | |
task unitTest(type:Test, dependsOn: assemble) { | |
description = "run unit tests" | |
testClassesDir = project.sourceSets.unitTest.output.classesDir | |
classpath = project.sourceSets.unitTest.runtimeClasspath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment