Gradle build part3.

This commit is contained in:
Relintai 2017-10-01 14:16:33 +02:00
parent 20da045794
commit 76ed5b93c3
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -0,0 +1,2 @@
Manifest-Version: 1.0