须知少年凌云志,曾许人间第一流。这篇文章主要讲述通过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}"
}
【通过AS提交AndroidLibrary到JCenter仓库】详细流程:
https://blog.csdn.net/yang123465/article/details/54972351
推荐阅读
- 安卓直连SQLSEVER数据库
- Expected a key while parsing a block mapping.
- appium 多线程还是多进程(转)
- 解决AndroidKiller APK 反编译失败,无法继续下一步源码反编译!
- httpclient模拟post(applecation/x-www-form-urlencoded方式)请求
- 安卓无法上传图片的问题
- AppBoxFuture: Raft快照及日志截断回收
- 关于appium的简单理解
- Oracle 日志分析 APP | APP 推荐第 6 弹