Add stdin support to the Gradle :run tasks

This is required for the compress and crc32 tasks to be useful.

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 5 years ago
parent 44fb2ebe25
commit 9d6c8f8735
  1. 1
      build.gradle.kts

@ -33,6 +33,7 @@ allprojects {
plugins.withType<ApplicationPlugin> { plugins.withType<ApplicationPlugin> {
tasks.named<JavaExec>("run") { tasks.named<JavaExec>("run") {
standardInput = System.`in`
workingDir = rootProject.projectDir workingDir = rootProject.projectDir
} }
} }

Loading…
Cancel
Save