From 4402bc65ae293fde2f19e829f967e40a14a6bf12 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Fri, 15 May 2020 19:20:45 +0200 Subject: [PATCH] add junit to classpath --- build.gradle | 7 +++++++ core/src/test/java/MapTest.java | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 core/src/test/java/MapTest.java diff --git a/build.gradle b/build.gradle index 65e738b..7ee9cf8 100644 --- a/build.gradle +++ b/build.gradle @@ -66,6 +66,13 @@ project(":core") { api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion" api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion" api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion" + + testCompile "junit:junit:4.12" + testCompile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion" + testCompile "com.badlogicgames.gdx:gdx:$gdxVersion" + testCompile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop" + testCompile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion" + testCompile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop" } } diff --git a/core/src/test/java/MapTest.java b/core/src/test/java/MapTest.java new file mode 100644 index 0000000..8dec85d --- /dev/null +++ b/core/src/test/java/MapTest.java @@ -0,0 +1,4 @@ +package PACKAGE_NAME; + +public class MapTest { +}