gradle: Task override for directly running the client

This commit is contained in:
Owain van Brakel
2019-11-10 04:36:52 +01:00
parent 18021f6bed
commit 29bab8ca9d

View File

@@ -149,4 +149,12 @@ tasks {
withType<BootstrapTask> {
group = "openosrs"
}
register<JavaExec>("RuneLite.main()") {
group = "openosrs"
classpath = project.sourceSets.main.get().runtimeClasspath
main = "net.runelite.client.RuneLite"
}
}