summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle13
1 files changed, 13 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index df121c2..6a26d05 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,10 @@
apply plugin: 'java'
apply plugin: 'application'
+repositories {
+ mavenCentral()
+}
+
defaultTasks 'clean', 'build'
task init << {
@@ -19,12 +23,21 @@ run {
standardInput = System.in;
}
+dependencies {
+ testCompile 'junit:junit:4.12'
+}
+
sourceSets {
main {
//if you truly want to override the defaults:
java.srcDirs = ['src']
output.classesDir = 'classes'
}
+ test {
+ java {
+ srcDirs = ["test"]
+ }
+ }
}
javadoc {