blob: 954bbe377a1486a44edcef6cea029cc501cb54f4 [file] [log] [blame]
Yigit Boyar88c16ce2017-02-08 16:06:14 -08001/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Alan Viverettecc5197e2016-06-13 12:45:07 -040016
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080017buildscript {
Yigit Boyar88c16ce2017-02-08 16:06:14 -080018 ext.supportRootFolder = project.projectDir
19 apply from: 'buildSrc/init.gradle'
Yigit Boyar95c6a872017-03-03 10:54:49 -080020 init.loadDefaultVersions()
21 init.setSdkInLocalPropertiesFile()
Yigit Boyar88c16ce2017-02-08 16:06:14 -080022 init.addMavenRepositories(repositories)
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080023 dependencies {
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080024 classpath libs.gradle
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080025 }
26}
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080027
Yigit Boyar88c16ce2017-02-08 16:06:14 -080028init.addMavenRepositories(repositories)
Alan Viverettecc5197e2016-06-13 12:45:07 -040029
Yigit Boyar88c16ce2017-02-08 16:06:14 -080030init.setupRepoOutAndBuildNumber()
Alan Viverettecc5197e2016-06-13 12:45:07 -040031
Yigit Boyar88c16ce2017-02-08 16:06:14 -080032init.configureSubProjects()
Alan Viverettecc5197e2016-06-13 12:45:07 -040033
Yigit Boyar88c16ce2017-02-08 16:06:14 -080034init.setupRelease()
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080035
Yigit Boyar95c6a872017-03-03 10:54:49 -080036init.enableDoclavaAndJDiff(this)
37
38///// FLATFOOT START
39
40///// FLATFOOT END