gradle: Task override for directly running the client
This commit is contained in:
@@ -149,4 +149,12 @@ tasks {
|
|||||||
withType<BootstrapTask> {
|
withType<BootstrapTask> {
|
||||||
group = "openosrs"
|
group = "openosrs"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
register<JavaExec>("RuneLite.main()") {
|
||||||
|
group = "openosrs"
|
||||||
|
|
||||||
|
classpath = project.sourceSets.main.get().runtimeClasspath
|
||||||
|
main = "net.runelite.client.RuneLite"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user