Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 1 | /* |
| 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 | */ |
Sergey Vasilinets | 1638535 | 2017-12-13 16:56:47 -0800 | [diff] [blame] | 16 | import android.support.DacOptions |
Alan Viverette | cc5197e | 2016-06-13 12:45:07 -0400 | [diff] [blame] | 17 | |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 18 | buildscript { |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 19 | ext.supportRootFolder = project.projectDir |
Aurimas Liutikas | 9ab3b4c | 2017-04-19 09:33:27 -0700 | [diff] [blame] | 20 | apply from: 'buildSrc/repos.gradle' |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 21 | apply from: 'buildSrc/init.gradle' |
Sergey Vasilinets | 6aa53ca | 2017-11-03 12:20:28 -0700 | [diff] [blame] | 22 | apply from: 'buildSrc/build_dependencies.gradle' |
Yigit Boyar | 95c6a87 | 2017-03-03 10:54:49 -0800 | [diff] [blame] | 23 | init.setSdkInLocalPropertiesFile() |
Aurimas Liutikas | 9ab3b4c | 2017-04-19 09:33:27 -0700 | [diff] [blame] | 24 | repos.addMavenRepositories(repositories) |
Aurimas Liutikas | 75b3d2e | 2017-03-15 10:34:55 -0700 | [diff] [blame] | 25 | |
| 26 | dependencies { |
Sergey Vasilinets | 6aa53ca | 2017-11-03 12:20:28 -0700 | [diff] [blame] | 27 | classpath build_libs.gradle |
| 28 | classpath build_libs.jacoco |
Filip Pavlis | f61a6d8 | 2017-11-29 15:40:18 +0000 | [diff] [blame] | 29 | classpath build_libs.jetifier |
Aurimas Liutikas | 75b3d2e | 2017-03-15 10:34:55 -0700 | [diff] [blame] | 30 | } |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 31 | } |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 32 | |
Aurimas Liutikas | 9ab3b4c | 2017-04-19 09:33:27 -0700 | [diff] [blame] | 33 | repos.addMavenRepositories(repositories) |
Alan Viverette | cc5197e | 2016-06-13 12:45:07 -0400 | [diff] [blame] | 34 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 35 | init.setupRepoOutAndBuildNumber() |
Alan Viverette | cc5197e | 2016-06-13 12:45:07 -0400 | [diff] [blame] | 36 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 37 | init.configureSubProjects() |
Alan Viverette | cc5197e | 2016-06-13 12:45:07 -0400 | [diff] [blame] | 38 | |
Aurimas Liutikas | 38e8f4d | 2017-06-16 08:31:03 -0700 | [diff] [blame] | 39 | init.configureBuildOnServer() |
| 40 | |
Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 41 | init.setupRelease() |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 42 | |
Sergey Vasilinets | 1638535 | 2017-12-13 16:56:47 -0800 | [diff] [blame] | 43 | init.enableDoclavaAndJDiff(this, new DacOptions("android/support", "SUPPORT_DATA")) |
Yigit Boyar | 95c6a87 | 2017-03-03 10:54:49 -0800 | [diff] [blame] | 44 | |
| 45 | ///// FLATFOOT START |
| 46 | |
| 47 | ///// FLATFOOT END |