| import androidx.build.AndroidXPlugin |
| import androidx.build.SdkHelperKt |
| // Note this is different from the root project's `build.gradle`. We call this method to |
| // establish the "canonical" root project directory, e.g. `frameworks/support`. |
| SdkHelperKt.setSupportRootFolder(project, project.projectDir.parentFile) |
| apply from: 'buildSrc/repos.gradle' |
| apply from: 'buildSrc/build_dependencies.gradle' |
| repos.addMavenRepositories(repositories) |
| SdkHelperKt.writeSdkPathToLocalPropertiesFile(project) |
| classpath build_libs.kotlin.gradle_plugin |
| classpath build_libs.dokka_gradle |
| repos.addMavenRepositories(repositories) |
| apply from: "buildSrc/dependencies.gradle" |
| apply from: "buildSrc/out.gradle" |
| apply plugin: AndroidXPlugin |