diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-27 21:50:41 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-27 22:26:28 +0100 |
commit | 4f851bdafc15790093b097e4b1535296c7cb09eb (patch) | |
tree | e6970c7c5b0c87b06349cbfa16c014f624b97eb0 /desktop/build.gradle | |
parent | 9b710d9e822b7db65b2f0c897815ba2a6334c908 (diff) | |
download | RustAndDust-4f851bdafc15790093b097e4b1535296c7cb09eb.zip RustAndDust-4f851bdafc15790093b097e4b1535296c7cb09eb.tar.gz |
clean up desktop/build.gradle
Diffstat (limited to 'desktop/build.gradle')
-rw-r--r-- | desktop/build.gradle | 20 |
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 |