Yigit Boyar | 88c16ce | 2017-02-08 16:06:14 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 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 | */ |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 16 | // Add ext.libs for library versions |
| 17 | def libs = [:] |
| 18 | |
| 19 | // Testing dependencies |
| 20 | libs.mockito_core = 'org.mockito:mockito-core:1.9.5' |
| 21 | libs.dexmaker = 'com.google.dexmaker:dexmaker:1.2' |
| 22 | libs.dexmaker_mockito = 'com.google.dexmaker:dexmaker-mockito:1.2' |
| 23 | libs.junit = 'junit:junit:4.12' |
| 24 | libs.test_runner = 'com.android.support.test:runner:0.6-alpha' |
| 25 | libs.espresso_core = 'com.android.support.test.espresso:espresso-core:2.3-alpha' |
| 26 | libs.espresso_contrib = 'com.android.support.test.espresso:espresso-contrib:2.3-alpha' |
| 27 | |
| 28 | // Keep gradle plugin version in sync with ub_supportlib-master manifest. |
Aurimas Liutikas | 04cccc9 | 2017-04-13 16:04:09 -0700 | [diff] [blame] | 29 | libs.gradle = 'com.android.tools.build:gradle:2.4.0-alpha6' |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 30 | |
| 31 | // Other dependencies |
| 32 | libs.xml_parser_apis = 'xerces:xmlParserAPIs:2.6.2' |
| 33 | libs.xerces_impl = 'xerces:xercesImpl:2.6.2' |
Aurimas Liutikas | f1d3a82 | 2017-03-07 17:41:39 -0800 | [diff] [blame] | 34 | libs.error_prone = 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.9' |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 35 | |
Siyamed Sinir | c29ea5f | 2017-03-07 22:10:01 -0800 | [diff] [blame] | 36 | // jarjar plugin |
| 37 | libs.jarjar_gradle = 'org.anarres.jarjar:jarjar-gradle:1.0.0' |
| 38 | |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 39 | rootProject.ext['libs'] = libs |