summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-09-13 17:46:26 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-09-13 17:46:26 +0200
commit94add775a5d1d65667b6786ecf81d0aaff12164e (patch)
tree8ac73d883018b8c7b166c2b049c4d3eec6d7d5b2 /desktop
parent88188156cfaf037866b5242fc1b06dd9754c2b94 (diff)
downloadgdx-boardgame-94add775a5d1d65667b6786ecf81d0aaff12164e.zip
gdx-boardgame-94add775a5d1d65667b6786ecf81d0aaff12164e.tar.gz
clean up, remove android, eclipse ...
Diffstat (limited to 'desktop')
-rw-r--r--desktop/build.gradle20
1 files changed, 1 insertions, 19 deletions
diff --git a/desktop/build.gradle b/desktop/build.gradle
index 9e8f006..d2b722e 100644
--- a/desktop/build.gradle
+++ b/desktop/build.gradle
@@ -6,7 +6,7 @@ sourceCompatibility = 1.8
sourceSets.main.java.srcDirs = [ "src/" ]
project.ext.mainClassName = "ch.asynk.zproject.desktop.DesktopLauncher"
-project.ext.assetsDir = new File("../android/assets");
+project.ext.assetsDir = new File("build/assets");
task run(dependsOn: classes, type: JavaExec) {
main = project.mainClassName
@@ -40,21 +40,3 @@ task dist(type: Jar) {
}
dist.dependsOn classes
-
-eclipse {
- project {
- name = appName + "-desktop"
- linkedResource name: 'assets', type: '2', location: 'PARENT-1-PROJECT_LOC/android/assets'
- }
-}
-
-task afterEclipseImport(description: "Post processing after project generation", group: "IDE") {
- doLast {
- def classpath = new XmlParser().parse(file(".classpath"))
- new Node(classpath, "classpathentry", [ kind: 'src', path: 'assets' ]);
- def writer = new FileWriter(file(".classpath"))
- def printer = new XmlNodePrinter(new PrintWriter(writer))
- printer.setPreserveWhitespace(true)
- printer.print(classpath)
- }
-}