| /* |
| * Copyright 2017 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| def build_versions = [:] |
| |
| build_versions.kotlin = '1.2.41' |
| |
| rootProject.ext['build_versions'] = build_versions |
| |
| |
| def build_libs = [:] |
| |
| def androidPluginVersionOverride = System.getenv("GRADLE_PLUGIN_VERSION") |
| |
| if (androidPluginVersionOverride != null) { |
| build_libs.gradle = 'com.android.tools.build:gradle:' + androidPluginVersionOverride |
| } else { |
| // Keep gradle plugin version in sync with ub_supportlib-master manifest. |
| build_libs.gradle = 'com.android.tools.build:gradle:3.2.0-alpha16' |
| } |
| |
| // jarjar plugin |
| build_libs.jarjar_gradle = 'org.anarres.jarjar:jarjar-gradle:1.0.0' |
| build_libs.error_prone_gradle = 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.13' |
| build_libs.jacoco = 'org.jacoco:org.jacoco.core:0.7.8' |
| build_libs.jacoco_ant = 'org.jacoco:org.jacoco.ant:0.7.8' |
| build_libs.kotlin = [ |
| gradle_plugin: "org.jetbrains.kotlin:kotlin-gradle-plugin:${build_versions.kotlin}" |
| ] |
| // jdiff dependencies |
| build_libs.jdiff = 'com.android:jdiff:1.1.0' |
| build_libs.xml_parser_apis = 'xerces:xmlParserAPIs:2.6.2' |
| build_libs.xerces_impl = 'xerces:xercesImpl:2.6.2' |
| |
| build_libs.doclava = 'com.android:doclava:1.0.6' |
| |
| rootProject.ext['build_libs'] = build_libs |