This is recommended as a best practice, though AFAIK this only matters for projects that are going to be imported by other projects. For instance, you used to be able to include `:deps:extension-api` by including any extension that depended on it. Now, every project that wants to use `extension-api` has to include it directly. (Which is fine because in practice, they all already do so.)
22 lines
417 B
Groovy
22 lines
417 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:::::if (1 == 1)::ANDROID_GRADLE_PLUGIN::end::::'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
|
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':deps:extension-api')
|
|
}
|