bintray 发布 再入坑

发布时 Execution failed for task ‘:core:mavenAndroidJavadocs’.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':library:mavenAndroidJavadocs'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/Users/system/MyDevFiles/AndroidStudioProjects/github/Logging/library/build/tmp/mavenAndroidJavadocs/javadoc.options'

解决方案:在项目根目录下的gradle下面就要添加如下配置:

 tasks.withType(Javadoc) {
        options{
            encoding "UTF-8"
            charSet 'UTF-8'
            links "http://docs.oracle.com/javase/7/docs/api"
        }
        options.addStringOption('Xdoclint:none', '-quiet')

    }

你可能感兴趣的:(Android)