Remove use of deprecated mainClassName property where possible

We can't remove it from all/build.gradle.kts yet, as the shadow plugin
still tries to read it.

Signed-off-by: Graham <gpe@openrs2.org>
Graham 4 years ago
parent c7a7da3af3
commit a8c1ecb429
  1. 2
      archive/build.gradle.kts
  2. 2
      bundler/build.gradle.kts
  3. 2
      compress-cli/build.gradle.kts
  4. 2
      crc32/build.gradle.kts
  5. 2
      decompiler/build.gradle.kts
  6. 2
      deob-ast/build.gradle.kts
  7. 2
      deob/build.gradle.kts
  8. 2
      game/build.gradle.kts

@ -5,7 +5,7 @@ plugins {
} }
application { application {
mainClassName = "org.openrs2.archive.ArchiveCommandKt" mainClass.set("org.openrs2.archive.ArchiveCommandKt")
} }
dependencies { dependencies {

@ -5,7 +5,7 @@ plugins {
} }
application { application {
mainClassName = "org.openrs2.bundler.BundleCommandKt" mainClass.set("org.openrs2.bundler.BundleCommandKt")
} }
dependencies { dependencies {

@ -5,7 +5,7 @@ plugins {
} }
application { application {
mainClassName = "org.openrs2.compress.cli.CompressCommandKt" mainClass.set("org.openrs2.compress.cli.CompressCommandKt")
} }
dependencies { dependencies {

@ -5,7 +5,7 @@ plugins {
} }
application { application {
mainClassName = "org.openrs2.crc32.Crc32CommandKt" mainClass.set("org.openrs2.crc32.Crc32CommandKt")
} }
dependencies { dependencies {

@ -5,7 +5,7 @@ plugins {
} }
application { application {
mainClassName = "org.openrs2.decompiler.DecompileCommandKt" mainClass.set("org.openrs2.decompiler.DecompileCommandKt")
applicationDefaultJvmArgs = listOf("-Xmx3G") applicationDefaultJvmArgs = listOf("-Xmx3G")
} }

@ -5,7 +5,7 @@ plugins {
} }
application { application {
mainClassName = "org.openrs2.deob.ast.DeobfuscateAstCommandKt" mainClass.set("org.openrs2.deob.ast.DeobfuscateAstCommandKt")
} }
dependencies { dependencies {

@ -5,7 +5,7 @@ plugins {
} }
application { application {
mainClassName = "org.openrs2.deob.DeobfuscateCommandKt" mainClass.set("org.openrs2.deob.DeobfuscateCommandKt")
} }
dependencies { dependencies {

@ -5,7 +5,7 @@ plugins {
} }
application { application {
mainClassName = "org.openrs2.game.GameCommandKt" mainClass.set("org.openrs2.game.GameCommandKt")
} }
dependencies { dependencies {

Loading…
Cancel
Save