Относительная зависимость проекта Gradle от HoloEverywhere
У меня есть эта структура каталогов:
Project
contrib/
holo-everywhere
library
addons/
slider
preferences
app-library
app-one
app-two
settings.gradle
Мой settings.gradle выглядит так
include 'contrib:holo-everywhere:library'
include 'contrib:holo-everywhere:addons:preferences'
include 'contrib:holo-everywhere:addons:slider'
include 'app-library'
include 'app-one'
include 'app-two'
contrib:holo-everywhere:addons:preferences
зависит от .contrib:holo-everywhere:library
dependencies {
compile project(':contrib:holo-everywhere:library')
}
contrib:holo-everywhere:library
построен успешно и когдаcontrib:holo-everywhere:addons:preferences
строится я получаю некоторую непонятную ошибку.
:contrib:holo-everywhere:addons:preferences:compileLint
:contrib:holo-everywhere:addons:preferences:copyReleaseLint UP-TO-DATE
:contrib:holo-everywhere:addons:preferences:mergeReleaseProguardFiles UP-TO-DATE
:contrib:holo-everywhere:addons:preferences:packageReleaseAidl UP-TO-DATE
:contrib:holo-everywhere:addons:preferences:preBuild UP-TO-DATE
:contrib:holo-everywhere:addons:preferences:preReleaseBuild UP-TO-DATE
:contrib:holo-everywhere:addons:preferences:preDebugBuild UP-TO-DATE
:contrib:holo-everywhere:addons:preferences:preTestBuild UP-TO-DATE
:contrib:holo-everywhere:addons:preferences:prepareMdAndroidContribHoloEverywhereLibraryUnspecifiedLibrary FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':contrib:holo-everywhere:addons:preferences:prepareMdAndroidContribHoloEverywhereLibraryUnspecifiedLibrary'.
> File '/home/project/contrib/holo-everywhere/library/build/libs/library.aar' specified for property 'bundle' does not exist.
Я как бы чувствую, что проблема здесь:
dependencies {
compile project(':contrib:holo-everywhere:library')
}
Это правильный способ определения зависимости?
Обновление: Добавлениеholo-everywhere
build.gradle
содержание.
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}
allprojects {
group = 'org.holoeverywhere'
version = '2.0.0-SNAPSHOT'
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://github.com/Prototik/HoloEverywhere/raw/repo"
}
}
tasks.withType(Compile) {
options.encoding = "UTF-8"
}
}
apply plugin: 'android-reporting'