blob: be135b96c467473307d5009d6fe30183b67d04bc [file] [log] [blame]
Sergey Vasilinets70a2e822017-11-03 12:20:28 -07001/*
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
17def build_libs = [:]
18
19def androidPluginVersionOverride = System.getenv("GRADLE_PLUGIN_VERSION")
20
21if (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
29build_libs.jarjar_gradle = 'org.anarres.jarjar:jarjar-gradle:1.0.0'
Aurimas Liutikas1a1fd462017-11-22 17:00:43 -080030build_libs.error_prone = 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.13'
Sergey Vasilinets70a2e822017-11-03 12:20:28 -070031build_libs.jacoco = 'org.jacoco:org.jacoco.core:0.7.8'
Jake Whartonb88cc9c2017-12-01 11:26:44 -050032build_libs.kotlin = [gradle_plugin: "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.0"]
Sergey Vasilinets70a2e822017-11-03 12:20:28 -070033
34rootProject.ext['build_libs'] = build_libs