summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimonIT <simonit.orig@gmail.com>2019-11-26 23:27:14 +0100
committerSimonIT <simonit.orig@gmail.com>2019-11-26 23:27:14 +0100
commitfe4e58b7e06b605c016e037c73bb905250a4b44f (patch)
tree143f601d9436edce1e05d948323a22c9b65eaa48 /core
parent077d0afcaf218db35553dbb4fdf764e276c00ba7 (diff)
downloadgdx-boardgame-fe4e58b7e06b605c016e037c73bb905250a4b44f.zip
gdx-boardgame-fe4e58b7e06b605c016e037c73bb905250a4b44f.tar.gz
Add gwt compatibility
Diffstat (limited to 'core')
-rw-r--r--core/build.gradle1
-rw-r--r--core/res/ch/asynk/gdx/boardgame.gwt.xml7
2 files changed, 8 insertions, 0 deletions
diff --git a/core/build.gradle b/core/build.gradle
index 899883b..3a82fad 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -4,3 +4,4 @@ sourceCompatibility = 1.8
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceSets.main.java.srcDirs = [ "src/" ]
+sourceSets.main.resources.srcDirs = [ "res/" ]
diff --git a/core/res/ch/asynk/gdx/boardgame.gwt.xml b/core/res/ch/asynk/gdx/boardgame.gwt.xml
new file mode 100644
index 0000000..15cb956
--- /dev/null
+++ b/core/res/ch/asynk/gdx/boardgame.gwt.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN"
+ "http://www.gwtproject.org/doctype/2.8.2/gwt-module.dtd">
+<module>
+ <source path=""/>
+ <inherits name="com.badlogic.gdx.backends.gdx_backends_gwt"/>
+</module>