我正在尝试将tree-view-android link导入为与另一个项目结合使用的新项目。但是当我导入时,我得到了这个构建错误:
Error:(21, 0) Failed to apply plugin [id 'ameba-project-release']
我使用gradle包装器进行配置
这是build.gradle代码:
buildscript {
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
repositories {
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
mavenLocal()
mavenCentral()
}
dependencies {
classpath ('com.apphance.ameba:Ameba:0.99.4.1-SNAPSHOT')
}
}
apply plugin: 'ameba-project-configuration'
apply plugin: 'ameba-mercurial'
//apply plugin: 'ameba-git'
apply plugin: 'ameba-android-build'
apply plugin: 'ameba-project-release'
apply plugin: 'ameba-android-release'
//apply plugin: 'ameba-android-apphance'
apply plugin: 'ameba-android-analysis'
//apply plugin: 'ameba-android-test'
//apply plugin: 'ameba-android-jarlibrary'
apply from: 'http://dev.polidea.pl/ext/Ameba/polidea_conventions.gradle'
我尝试将依赖项更改为更新的快照并修改maven,但这不起作用。