From 76ed5b93c396770ff54a729d421579c0bec2ac8c Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 1 Oct 2017 14:16:33 +0200 Subject: [PATCH] Gradle build part3. --- forge-gui-desktop/build.gradle | 5 +++-- forge-gui-desktop/build/tmp/jar/MANIFEST.MF | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 forge-gui-desktop/build/tmp/jar/MANIFEST.MF diff --git a/forge-gui-desktop/build.gradle b/forge-gui-desktop/build.gradle index 9d5d2565..b4d11707 100644 --- a/forge-gui-desktop/build.gradle +++ b/forge-gui-desktop/build.gradle @@ -3,8 +3,9 @@ apply plugin: "java" sourceCompatibility = 1.7 sourceSets.main.java.srcDirs = [ "src/main/java/forge/" ] -project.ext.mainClassName = "forge.GuiDesktop" -project.ext.assetsDir = new File("../core/assets"); +project.ext.mainClassName = "forge.view.Main" +project.ext.assetsDir = new File("src"); + task run(dependsOn: classes, type: JavaExec) { main = project.mainClassName diff --git a/forge-gui-desktop/build/tmp/jar/MANIFEST.MF b/forge-gui-desktop/build/tmp/jar/MANIFEST.MF new file mode 100644 index 00000000..59499bce --- /dev/null +++ b/forge-gui-desktop/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 +