我的 gradle 项目构建成功,但是当添加勺子时,我得到了这个错误(无法创建“AppPlugin”类型的插件)
我的毕业版本 1.9
构建.gradle:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.stanfy.spoon:spoon-gradle-plugin:0.9.+'
}
}
apply plugin: 'android'
apply plugin: 'spoon'
repositories {
mavenCentral()
}
android {
compileSdkVersion 19
buildToolsVersion "19.0.0"
defaultConfig {
minSdkVersion 10
targetSdkVersion 19
}
}
dependencies {
compile 'com.android.support:appcompat-v7:+'
instrumentTestCompile 'com.jayway.android.robotium:robotium-solo:4.3.1'
instrumentTestCompile 'com.squareup.spoon:spoon-client:1.0.5'
}