From 9900cd77491a40158dcefbf0da1e6c29cfd4eb45 Mon Sep 17 00:00:00 2001 From: SimonIT Date: Sat, 30 Nov 2019 23:03:54 +0100 Subject: add assets directory to resources to not have to change the working directory --- test/build.gradle | 1 + 1 file changed, 1 insertion(+) 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"); -- cgit v1.1-2-g2b99