[go: nahoru, domu]

blob: 0912a2687d0707ba35b952ae4ae3c321cca1abe4 [file] [log] [blame]
Aurimas Liutikas9d8dd892020-04-17 14:46:00 -07001import androidx.build.AndroidXRootPlugin
Aurimas Liutikasaa460b02019-04-25 16:03:21 -07002import androidx.build.SdkHelperKt
3
4buildscript {
Alan Viverettebb04f2e2020-04-09 17:13:37 -04005 // Note this is different from the root project's `build.gradle`. We call this method to
6 // establish the "canonical" root project directory, e.g. `frameworks/support`.
7 SdkHelperKt.setSupportRootFolder(project, project.projectDir.parentFile)
8
Aurimas Liutikasaa460b02019-04-25 16:03:21 -07009 apply from: 'buildSrc/repos.gradle'
10 apply from: 'buildSrc/build_dependencies.gradle'
11 repos.addMavenRepositories(repositories)
Alan Viverettebb04f2e2020-04-09 17:13:37 -040012
13 SdkHelperKt.writeSdkPathToLocalPropertiesFile(project)
Aurimas Liutikasaa460b02019-04-25 16:03:21 -070014}
15
16allprojects {
17 repos.addMavenRepositories(repositories)
18}
19
20apply from: "buildSrc/dependencies.gradle"
21apply from: "buildSrc/out.gradle"
George Mount68e85572019-05-06 16:33:16 -070022init.chooseOutDir("/ui")
Aurimas Liutikasaa460b02019-04-25 16:03:21 -070023
Aurimas Liutikas9d8dd892020-04-17 14:46:00 -070024apply plugin: AndroidXRootPlugin