mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-06-14 23:54:51 +02:00
Fix piping into 'gradle run'
This commit is contained in:
parent
f662a3dba9
commit
2e55737795
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue