From 5ee1f3fe9c4b15dfa4318cccde029bcc6987f773 Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Fri, 28 Oct 2016 11:32:46 +0200 Subject: Add tests for the Dreieck class --- build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'build.gradle') 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 { -- cgit v1.2.3-70-g09d2