Publish android library to jcenter: gradle bintrayUpload does not find libraries

微笑、不失礼 提交于 2019-12-05 08:46:16

The library is in maven repository, so you need to declare the maven central repository. Add it in your project build.gradle file like this:

buildscript {
    repositories {
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.1.2'
        classpath 'com.github.dcendents:android-maven-plugin:1.2'
        classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.1"

    }
}
DovSnier

Please refer to the following:

  user = properties.getProperty("bintray.user")
  key = properties.getProperty("bintray.apikey")

At this point, you need in your local. Join in the properties files,

Bintray. User = XXX
Bintray apikey = XXX
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!