发布 AAR 的最简单方法
Easiest way to publish AAR
我有一个 AAR 文件,我想发布它,以便任何想要使用我的库的人都可以使用它。提交我的 AAR 的容易的地方是什么?专家中心?
我找到的每个教程都过于复杂。
jCenter 是与 Android 的 gradle 插件一起使用的默认存储库,并且是 bintray.com 运行。优点是用户不需要在他们的配置中添加额外的存储库,他们只需要将依赖项添加到你的库中。
有关于如何在 jCenter 上发布的综合指南,例如这里 https://www.virag.si/2015/01/publishing-gradle-android-library-to-jcenter/ and here https://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en
我有一个 AAR 文件,我想发布它,以便任何想要使用我的库的人都可以使用它。提交我的 AAR 的容易的地方是什么?专家中心?
我找到的每个教程都过于复杂。
jCenter 是与 Android 的 gradle 插件一起使用的默认存储库,并且是 bintray.com 运行。优点是用户不需要在他们的配置中添加额外的存储库,他们只需要将依赖项添加到你的库中。
有关于如何在 jCenter 上发布的综合指南,例如这里 https://www.virag.si/2015/01/publishing-gradle-android-library-to-jcenter/ and here https://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en