plugins { `maven-publish` application kotlin("jvm") } application { mainClass.set("org.openrs2.decompiler.DecompileCommandKt") applicationDefaultJvmArgs = listOf("-Xmx3G") } dependencies { api(projects.deobUtil) api(libs.bundles.guice) api(libs.clikt) implementation(projects.log) implementation(projects.util) implementation(libs.fernflower) } publishing { publications.create("maven") { from(components["java"]) pom { packaging = "jar" name.set("OpenRS2 Decompiler") description.set( """ A thin wrapper around OpenRS2's fork of Fernflower that sets the standard options required to decompile the RuneScape client and its dependencies. """.trimIndent() ) } } }