summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop/build.gradle20
1 files changed, 1 insertions, 19 deletions
diff --git a/desktop/build.gradle b/desktop/build.gradle
index 590db47..d17bf73 100644
--- a/desktop/build.gradle
+++ b/desktop/build.gradle
@@ -19,28 +19,10 @@ task dist(type: Jar) {
from files(sourceSets.main.output.resourcesDir)
from {configurations.compile.collect {zipTree(it)}}
from files(project.assetsDir);
-
+
manifest {
attributes 'Main-Class': project.mainClassName
}
}
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)
- }
-} \ No newline at end of file