runescape-client: add run task
This commit is contained in:
@@ -158,6 +158,6 @@ tasks {
|
|||||||
|
|
||||||
classpath = sourceSets["main"].runtimeClasspath
|
classpath = sourceSets["main"].runtimeClasspath
|
||||||
enableAssertions = true
|
enableAssertions = true
|
||||||
main = "net.runelite.client.RuneLite"
|
mainClass.set("net.runelite.client.RuneLite")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,4 +44,12 @@ tasks {
|
|||||||
withType<JavaCompile> {
|
withType<JavaCompile> {
|
||||||
options.compilerArgs.addAll(arrayOf("-g:source,vars,lines", "-Xlint:-unchecked"))
|
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")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user