diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-29 23:52:20 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-29 23:52:20 +0200 |
commit | 4aca08fca0c250a917968e0653857817652a3186 (patch) | |
tree | d68af54f4248563d3405e849b560989eebc3afb7 | |
parent | 9fde1b43baa4d747c414b0e8201a05d8c9d4d552 (diff) | |
download | RustAndDust-4aca08fca0c250a917968e0653857817652a3186.zip RustAndDust-4aca08fca0c250a917968e0653857817652a3186.tar.gz |
gradle: add core:test target
-rw-r--r-- | build.gradle | 1 | ||||
-rw-r--r-- | core/build.gradle | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index e73f958..292b9b7 100644 --- a/build.gradle +++ b/build.gradle @@ -114,6 +114,7 @@ project(":core") { dependencies { compile "com.badlogicgames.gdx:gdx:$gdxVersion" compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion" + testCompile "junit:junit:+" } } diff --git a/core/build.gradle b/core/build.gradle index 03cd1be..0dec417 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -4,6 +4,7 @@ sourceCompatibility = 1.6 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' sourceSets.main.java.srcDirs = [ "src/" ] +sourceSets.test.java.srcDirs = [ "test/" ] eclipse.project { |