blob: 79e86872d27a836d18d462d3e8341da433306c66 [file] [log] [blame]
/*
* Copyright (C) 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.
*/
// Add ext.libs for library versions
def libs = [:]
// Testing dependencies
libs.mockito_core = 'org.mockito:mockito-core:1.9.5'
libs.dexmaker = 'com.google.dexmaker:dexmaker:1.2'
libs.dexmaker_mockito = 'com.google.dexmaker:dexmaker-mockito:1.2'
libs.junit = 'junit:junit:4.12'
libs.test_runner = 'com.android.support.test:runner:0.6-alpha'
libs.espresso_core = 'com.android.support.test.espresso:espresso-core:2.3-alpha'
libs.espresso_contrib = 'com.android.support.test.espresso:espresso-contrib:2.3-alpha'
def androidPluginVersionOverride = System.getenv("GRADLE_PLUGIN_VERSION")
if (androidPluginVersionOverride != null) {
libs.gradle = 'com.android.tools.build:gradle:' + androidPluginVersionOverride
} else {
// Keep gradle plugin version in sync with ub_supportlib-master manifest.
libs.gradle = 'com.android.tools.build:gradle:2.4.0-alpha6'
}
// Other dependencies
libs.xml_parser_apis = 'xerces:xmlParserAPIs:2.6.2'
libs.xerces_impl = 'xerces:xercesImpl:2.6.2'
libs.error_prone = 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.10'
// jarjar plugin
libs.jarjar_gradle = 'org.anarres.jarjar:jarjar-gradle:1.0.0'
rootProject.ext['libs'] = libs