Publish .aar file with javadocs attached on artifactory repo

后端 未结 2 1729
旧时难觅i
旧时难觅i 2020-12-30 13:43

I\'m trying to publish an AAR with javadoc file to my maven repo through artifactory gradle puglin.

The aar file is doing uploaded with success, but i the javadoc d

2条回答
  •  心在旅途
    2020-12-30 14:26

    Your publication only includes the aar file:

    artifact("$buildDir/outputs/aar/${project.getName()}-release.aar")

    Add another artifact - the output of the androidJavadocsJar task:

    artifact androidJavadocsJar

    Repeat for sources jar, if you want.

提交回复
热议问题