Closed plastiv closed 4 years ago
should™ be a pretty straight forward fix. Feel free to open a PR, ideally with a test case to cover it. But i'll still see how quickly I can get to this.
just published 1.0.0-rc06 with your fix for this issue, sorry for the delay in publishing and thank you for your patience.
It looks like verbose and output flags are not passed to the commander process.
1) Process logs are guarded:
https://github.com/trevjonez/composer-gradle-plugin/blob/271a5a5ebceb1ea779c800cbcdd1e1a82648f337/commander/os/src/main/kotlin/com/gojuno/commander/os/Processes.kt#L105-L107
2) Logs are turned off by default:
https://github.com/trevjonez/composer-gradle-plugin/blob/271a5a5ebceb1ea779c800cbcdd1e1a82648f337/commander/os/src/main/kotlin/com/gojuno/commander/os/Processes.kt#L29-L32
3) process is unconditionally being called AFAIS:
https://github.com/trevjonez/composer-gradle-plugin/blob/271a5a5ebceb1ea779c800cbcdd1e1a82648f337/commander/android/src/main/kotlin/com/gojuno/commander/android/Adb.kt#L94-L98
My use case.
I am running composer. APK install is failing on the CI and I don't see adb message to get a sense why is it failing. Turning
verboseOutput=true
keepOutput=true
flags in plugin doesn't help, since apparently flags are not being passed down. So at the end all I see is next:Which isn't very helpful since it doesn't contain any error message.