码迷,mamicode.com
首页 > 移动开发 > 详细

通过AS提交AndroidLibrary到JCenter仓库

时间:2019-10-16 17:50:35      阅读:81      评论:0      收藏:0      [点我收藏+]

标签:end   files   esc   des   mod   path   注意   cat   super   

注意事项:
//版本需要一致,如下版本对应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仓库

标签:end   files   esc   des   mod   path   注意   cat   super   

原文地址:https://www.cnblogs.com/jasonzeng/p/11686933.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!