mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 07:17:50 +07:00
Build warnings cleanup (#6827)
This commit is contained in:
@ -32,7 +32,7 @@ tasks.register<JavaExec>("run") {
|
||||
|
||||
dependsOn(tasks.getByName("classes"))
|
||||
|
||||
main = mainClassName
|
||||
mainClass.set(mainClassName)
|
||||
classpath = sourceSets.main.get().runtimeClasspath
|
||||
standardInput = System.`in`
|
||||
workingDir = assetsDir
|
||||
@ -42,7 +42,7 @@ tasks.register<JavaExec>("run") {
|
||||
tasks.register<JavaExec>("debug") {
|
||||
jvmArgs = jvmArgsForMac
|
||||
dependsOn(tasks.getByName("classes"))
|
||||
main = mainClassName
|
||||
mainClass.set(mainClassName)
|
||||
classpath = sourceSets.main.get().runtimeClasspath
|
||||
standardInput = System.`in`
|
||||
workingDir = assetsDir
|
||||
|
@ -70,7 +70,7 @@ internal object DesktopLauncher {
|
||||
This is because if there's a crash when the instance initializes on a similar line,
|
||||
it's not within the bounds of the try/catch and thus the app will crash.
|
||||
*/
|
||||
Native.loadLibrary("discord-rpc", DiscordRPC::class.java)
|
||||
Native.load("discord-rpc", DiscordRPC::class.java)
|
||||
val handlers = DiscordEventHandlers()
|
||||
DiscordRPC.INSTANCE.Discord_Initialize("647066573147996161", handlers, true, null)
|
||||
|
||||
|
Reference in New Issue
Block a user