将android库上传到jCenter bintray

时间:2016-08-15 16:58:53

标签: android maven android-library jcenter

获取此问题构建库时,ProjectScopeServices中没有可用的Factory类型的服务

项目build.gradle

 dependencies {
    classpath 'com.android.tools.build:gradle:2.2.0-beta1'
    classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
    classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

图书馆build.gradle

apply plugin: 'com.jfrog.bintray'
apply plugin: 'com.github.dcendents.android-maven'

0 个答案:

没有答案