prevent Javadoc from failing gradle build

前端 未结 3 1508
耶瑟儿~
耶瑟儿~ 2021-01-02 14:23

I’m trying to upload my Library project to jCenter. when I run gradlew install I’m getting the error:

Execution failed for task \':myLibr

3条回答
  •  礼貌的吻别
    2021-01-02 14:38

    I don't recommend disabling JavaDoc generation. Instead, try just running

    ./gradlew javadoc
    

    This should give you detailed log output about the warnings and errors that are occurring. Fixing these errors should prevent JavaDoc from causing the failure.

提交回复
热议问题