plugins { `maven-publish` application kotlin("jvm") } application { mainClass.set("org.openrs2.decompiler.DecompileCommandKt") applicationDefaultJvmArgs = listOf("-Xmx3G") } dependencies { api(project(":deob-util")) api("com.github.ajalt.clikt:clikt:${Versions.clikt}") api("com.google.inject:guice:${Versions.guice}") implementation(project(":util")) implementation("org.openrs2:fernflower:${Versions.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() ) } } }