breautek commented on issue #391:
URL: https://github.com/apache/cordova/issues/391#issuecomment-1516887016

   > @breautek I tried both -- and "--" and nothing changed
   
   I think we do have a bug here. I don't have an environment where there is a 
crash/exceptoin to test `--stacktrace` specifically, but using this to add 
`--warning-mode` fails because the gradlew command expects: `gradlew [options] 
[task]`, but the `--gradleArgs` is being appended after the task. Strangely 
using `--stacktrace` doesn't cause an error for me like `--warning-mode` does 
but I'm curious if that's the real problem here.
   
   Can you try to run gradle manually
   
   from your cordova root project folder...
   
   ```
   cd platforms/android
   ./gradlew --stacktrace cdvBuildDebug -b build.gradle
   ```
   
   Let me know if that workaround works for you. If it does, I think it may 
also confirm a bug with the `--gradleArgs` passthrough.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to