android - Disable javadoc check for Bintray upload -


i trying upload new version of library bintray, getting errors.

one of changes made add custom attribute javadoc. example:

/**  * method something.  *  * @param myparameter parameter  * @see #anothermethod(int)  * @attr ref r.styleable#mylibrary_anattribute  */ 

the custom attribute tag added @attr ref show related xml attributes when generating javadoc html (like in android developer documentation). added custom tag in ide (android studio), causes error when uploading bintray. also, using novoda bintray plugin - here part of build.gradle.

apply plugin: 'com.android.library' apply plugin: 'com.novoda.bintray-release'  ...  publish {     ... } 

so when run following command in terminal:

gradlew bintrayupload -pbintrayuser=me -pbintraykey=key -pdryrun=false 

i following error:

:mylibrary:compiledebugjavawithjavac up-to-date       :mylibrary:mavenandroidjavadocs c:\users\...\alibraryfile.java:216: error: unknown tag: attr  * @attr ref r.styleable#mylibrary_anattribute  ...  13 errors                                              :mylibrary:mavenandroidjavadocs failed            failure: build failed exception.  * went wrong: execution failed task ':mylibrary:mavenandroidjavadocs'. > javadoc generation failed. generated javadoc options file (useful troubleshooting): 'c:\users\...\build\tmp\mavenandroidjavadocs\javadoc.options'  * try:         run --stacktrace option stack trace. run --info or --debug option more log output.  build failed    total time: 12.711 secs 

is there way round this (e.g. disabling javadoc check?)?

the javadoc artifacts 1 of artifacts created default maven publication, created plugin.
plugin documentation explain how create custom publication. can use option in order create custom publication not include javadoc artifact or change way javadoc generated.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -