mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-21 20:18:06 +07:00
Fixed main -> mainClass deprecation warning
This commit is contained in:
parent
6f27fd1ea2
commit
3a8ba568b5
@ -9,7 +9,7 @@ def ICON_DIR = new File("$rootDir/core/assets/icons/icon.icns")
|
||||
def platforms = ["Linux64", "Windows64", "Windows32", "MacOS"]
|
||||
|
||||
task run(dependsOn: classes, type: JavaExec){
|
||||
main = project.mainClassName
|
||||
mainClass = project.mainClassName
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
standardInput = System.in
|
||||
workingDir = project.assetsDir
|
||||
@ -30,7 +30,7 @@ task run(dependsOn: classes, type: JavaExec){
|
||||
}
|
||||
|
||||
if(args.contains("debug")){
|
||||
main = "mindustry.debug.DebugLauncher"
|
||||
mainClass = "mindustry.debug.DebugLauncher"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user