I'm using com.github.dcendents:android-maven-gradle-plugin to generate a POM file and then upload it to Bintray. Though when I run ./gradlew install
, the script invokes Maven's install command, and FAILS on generating JavaDoc. I've already searched everywhere to find how to disable javadoc errors, but there is always one more issue I cannot solve.
Tested: 'failOnError false', disabling javadoc task (wasn't allowed), adding various parameters to install
task for POM generation, tried different flags on the CLI, etc.
I've used this tutorial.
for me running gradlew install without javadoc generation was enough to overcome this, my crash was due to a stricter javadoc format requirement added in java 8 and one of my libs was at fault
gradlew install -xjavadoc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With