runescape-client: add run task

This commit is contained in:
ThatGamerBlue
2020-11-03 23:25:38 +00:00
parent f847dcfb4e
commit 1e9ca9e7c0
2 changed files with 9 additions and 1 deletions

View File

@@ -158,6 +158,6 @@ tasks {
classpath = sourceSets["main"].runtimeClasspath
enableAssertions = true
main = "net.runelite.client.RuneLite"
mainClass.set("net.runelite.client.RuneLite")
}
}

View File

@@ -44,4 +44,12 @@ tasks {
withType<JavaCompile> {
options.compilerArgs.addAll(arrayOf("-g:source,vars,lines", "-Xlint:-unchecked"))
}
register<JavaExec>("rsc-run") {
group = "openosrs"
classpath = project(":runescape-client").sourceSets.test.get().runtimeClasspath
enableAssertions = true
mainClass.set("Main")
}
}