diff --git a/archive/build.gradle.kts b/archive/build.gradle.kts index 6c43bb93..cb9b0cd3 100644 --- a/archive/build.gradle.kts +++ b/archive/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } application { - mainClassName = "org.openrs2.archive.ArchiveCommandKt" + mainClass.set("org.openrs2.archive.ArchiveCommandKt") } dependencies { diff --git a/bundler/build.gradle.kts b/bundler/build.gradle.kts index 960c2fb2..509341ab 100644 --- a/bundler/build.gradle.kts +++ b/bundler/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } application { - mainClassName = "org.openrs2.bundler.BundleCommandKt" + mainClass.set("org.openrs2.bundler.BundleCommandKt") } dependencies { diff --git a/compress-cli/build.gradle.kts b/compress-cli/build.gradle.kts index 381013da..621169d7 100644 --- a/compress-cli/build.gradle.kts +++ b/compress-cli/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } application { - mainClassName = "org.openrs2.compress.cli.CompressCommandKt" + mainClass.set("org.openrs2.compress.cli.CompressCommandKt") } dependencies { diff --git a/crc32/build.gradle.kts b/crc32/build.gradle.kts index 68466d03..1214548a 100644 --- a/crc32/build.gradle.kts +++ b/crc32/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } application { - mainClassName = "org.openrs2.crc32.Crc32CommandKt" + mainClass.set("org.openrs2.crc32.Crc32CommandKt") } dependencies { diff --git a/decompiler/build.gradle.kts b/decompiler/build.gradle.kts index d3d2d92a..4d9b4c2f 100644 --- a/decompiler/build.gradle.kts +++ b/decompiler/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } application { - mainClassName = "org.openrs2.decompiler.DecompileCommandKt" + mainClass.set("org.openrs2.decompiler.DecompileCommandKt") applicationDefaultJvmArgs = listOf("-Xmx3G") } diff --git a/deob-ast/build.gradle.kts b/deob-ast/build.gradle.kts index 8f6edfc2..539be16b 100644 --- a/deob-ast/build.gradle.kts +++ b/deob-ast/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } application { - mainClassName = "org.openrs2.deob.ast.DeobfuscateAstCommandKt" + mainClass.set("org.openrs2.deob.ast.DeobfuscateAstCommandKt") } dependencies { diff --git a/deob/build.gradle.kts b/deob/build.gradle.kts index 21e240f5..ed283c69 100644 --- a/deob/build.gradle.kts +++ b/deob/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } application { - mainClassName = "org.openrs2.deob.DeobfuscateCommandKt" + mainClass.set("org.openrs2.deob.DeobfuscateCommandKt") } dependencies { diff --git a/game/build.gradle.kts b/game/build.gradle.kts index bb8f0cbe..d045642f 100644 --- a/game/build.gradle.kts +++ b/game/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } application { - mainClassName = "org.openrs2.game.GameCommandKt" + mainClass.set("org.openrs2.game.GameCommandKt") } dependencies {