Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 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 | */ |
| 16 | |
| 17 | def build_libs = [:] |
| 18 | |
| 19 | def androidPluginVersionOverride = System.getenv("GRADLE_PLUGIN_VERSION") |
| 20 | |
| 21 | if (androidPluginVersionOverride != null) { |
| 22 | build_libs.gradle = 'com.android.tools.build:gradle:' + androidPluginVersionOverride |
| 23 | } else { |
| 24 | // Keep gradle plugin version in sync with ub_supportlib-master manifest. |
| 25 | build_libs.gradle = 'com.android.tools.build:gradle:3.0.0' |
| 26 | } |
| 27 | |
| 28 | // jarjar plugin |
| 29 | build_libs.jarjar_gradle = 'org.anarres.jarjar:jarjar-gradle:1.0.0' |
Aurimas Liutikas | 1a1fd46 | 2017-11-22 17:00:43 -0800 | [diff] [blame] | 30 | build_libs.error_prone = 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.13' |
Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame] | 31 | build_libs.jacoco = 'org.jacoco:org.jacoco.core:0.7.8' |
Jake Wharton | b88cc9c | 2017-12-01 11:26:44 -0500 | [diff] [blame] | 32 | build_libs.kotlin = [gradle_plugin: "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.0"] |
Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame] | 33 | |
| 34 | rootProject.ext['build_libs'] = build_libs |