1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-27 13:28:00 +01:00

Fix piping into 'gradle run'

This commit is contained in:
Paul Schaub 2021-07-15 17:27:47 +02:00
parent f662a3dba9
commit 2e55737795
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -64,6 +64,8 @@ jar {
}
run {
// https://stackoverflow.com/questions/59445306/pipe-into-gradle-run
standardInput = System.in
// https://discuss.gradle.org/t/how-can-i-provide-command-line-args-to-application-started-with-gradle-run/6474/5
if (project.hasProperty("appArgs")) {
args Eval.me(appArgs)