blob: 29f07d47f6a8f4b7d996bb25ff9c633f6c5b0c4b [file] [log] [blame]
buildscript {
ext.lifecyclesRootFolder = project.rootProject.rootDir
apply from: '../flatfoot-common/init.gradle'
ext.addRepos(repositories)
dependencies {
classpath "com.android.tools.build:gradle:$android_gradle_plugin_version"
if (enablePublicRepos) {
classpath "com.android.databinding:localizemaven:${localize_maven_version}"
}
}
}
subprojects { project ->
configurations.all {
resolutionStrategy {
force "com.google.guava:guava-jdk5:17.0"
}
}
addRepos(project.repositories)
if (enablePublicRepos) {
apply plugin: 'com.android.databinding.localizemaven'
project.localizeMaven {
localRepoDir = file("$prebuiltsRoot/tools/common/m2/repository")
otherRepoDirs = repoNames
}
}
}