blob: 73cdf37c39a928306f698166ab1f2df3841b6d0b [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
Jake Wharton7495cc12018-01-05 11:05:13 -050017def build_versions = [:]
18
Yigit Boyar9e828632018-02-05 18:36:08 -080019build_versions.kotlin = '1.2.20'
Jake Wharton7495cc12018-01-05 11:05:13 -050020
21rootProject.ext['build_versions'] = build_versions
22
23
Sergey Vasilinets70a2e822017-11-03 12:20:28 -070024def build_libs = [:]
25
26def androidPluginVersionOverride = System.getenv("GRADLE_PLUGIN_VERSION")
27
28if (androidPluginVersionOverride != null) {
29 build_libs.gradle = 'com.android.tools.build:gradle:' + androidPluginVersionOverride
30} else {
31 // Keep gradle plugin version in sync with ub_supportlib-master manifest.
32 build_libs.gradle = 'com.android.tools.build:gradle:3.0.0'
33}
34
35// jarjar plugin
36build_libs.jarjar_gradle = 'org.anarres.jarjar:jarjar-gradle:1.0.0'
Aurimas Liutikas1a1fd462017-11-22 17:00:43 -080037build_libs.error_prone = 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.13'
Sergey Vasilinets70a2e822017-11-03 12:20:28 -070038build_libs.jacoco = 'org.jacoco:org.jacoco.core:0.7.8'
Aurimas Liutikas7cf34972017-12-18 09:27:47 -080039build_libs.jacoco_ant = 'org.jacoco:org.jacoco.ant:0.7.8'
Filip Pavlisf61a6d82017-11-29 15:40:18 +000040build_libs.jetifier = 'androidx.tools.jetifier:gradle-plugin:0.1'
Jake Wharton7495cc12018-01-05 11:05:13 -050041build_libs.kotlin = [
42 gradle_plugin: "org.jetbrains.kotlin:kotlin-gradle-plugin:${build_versions.kotlin}"
43]
Aurimas Liutikas62d3e1d2017-11-28 15:28:01 -080044// jdiff dependencies
Aurimas Liutikas419f9932017-12-18 12:53:17 -080045build_libs.jdiff = 'com.android:jdiff:1.1.0'
Aurimas Liutikas62d3e1d2017-11-28 15:28:01 -080046build_libs.xml_parser_apis = 'xerces:xmlParserAPIs:2.6.2'
47build_libs.xerces_impl = 'xerces:xercesImpl:2.6.2'
Sergey Vasilinets70a2e822017-11-03 12:20:28 -070048
Aurimas Liutikas419f9932017-12-18 12:53:17 -080049build_libs.doclava = 'com.android:doclava:1.0.6'
50
Sergey Vasilinets70a2e822017-11-03 12:20:28 -070051rootProject.ext['build_libs'] = build_libs