通过AS提交AndroidLibrary到JCenter仓库
Posted ぶ会编程的狗子进阶史
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了通过AS提交AndroidLibrary到JCenter仓库相关的知识,希望对你有一定的参考价值。
注意事项: //版本需要一致,如下版本对应gradle-4.4-all.zip dependencies { classpath ‘com.android.tools.build:gradle:3.1.4‘ classpath ‘com.novoda:bintray-release:0.8.0‘ // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } //新增: apply plugin: ‘com.android.library‘ apply plugin: ‘maven‘ apply plugin: ‘com.novoda.bintray-release‘
publish {
userOrg = ‘####‘
groupId = ‘com.dznet.bindknife‘
artifactId = ‘bindknife‘
version = ‘1.0.0‘
description = ‘Super duper easy way to release your Android and other artifacts to bintray‘
website = "https://github.com/z-pro/${rootProject.name}"
}
详细流程:
https://blog.csdn.net/yang123465/article/details/54972351
以上是关于通过AS提交AndroidLibrary到JCenter仓库的主要内容,如果未能解决你的问题,请参考以下文章