2016年8月17日星期三

plugin with id 'com.jfrog.bintray' not found

需要添加 bintray的 plugin

添加位置是 项目文件的build.gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.2'
        // NOTE: Do not place your application dependencies here; they belong        // in the individual module build.gradle files        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.5'    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir}

没有评论:

发表评论