summaryrefslogtreecommitdiffstats
path: root/test/build.gradle
diff options
context:
space:
mode:
authorSimonIT <simonit.orig@gmail.com>2019-11-30 23:03:54 +0100
committerSimonIT <simonit.orig@gmail.com>2019-11-30 23:03:54 +0100
commit9900cd77491a40158dcefbf0da1e6c29cfd4eb45 (patch)
tree13dd4bd0db1d4282864652ea847100a0c98f6586 /test/build.gradle
parentcebc564fa403bb2c215b4833400cbfb283d1077f (diff)
downloadgdx-boardgame-9900cd77491a40158dcefbf0da1e6c29cfd4eb45.zip
gdx-boardgame-9900cd77491a40158dcefbf0da1e6c29cfd4eb45.tar.gz
add assets directory to resources to not have to change the working directory
Diffstat (limited to 'test/build.gradle')
-rw-r--r--test/build.gradle1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/build.gradle b/test/build.gradle
index 55ac893..d242c6c 100644
--- a/test/build.gradle
+++ b/test/build.gradle
@@ -4,6 +4,7 @@ apply plugin: "java"
sourceCompatibility = 1.8
sourceSets.main.java.srcDirs = [ "src/" ]
+sourceSets.main.resources.srcDirs += [ "../assets/data/" ]
project.ext.mainClassName = "ch.asynk.gdx.boardgame.test.DesktopLauncher"
project.ext.assetsDir = new File("../assets/data");