mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-25 22:02:05 +01:00
Fix piping into 'gradle run'
This commit is contained in:
parent
f662a3dba9
commit
2e55737795
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ jar {
|
||||||
}
|
}
|
||||||
|
|
||||||
run {
|
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
|
// https://discuss.gradle.org/t/how-can-i-provide-command-line-args-to-application-started-with-gradle-run/6474/5
|
||||||
if (project.hasProperty("appArgs")) {
|
if (project.hasProperty("appArgs")) {
|
||||||
args Eval.me(appArgs)
|
args Eval.me(appArgs)
|
||||||
|
|
Loading…
Reference in a new issue