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 | |
Aurimas Liutikas | 62d3e1d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 19 | libs.exclude_annotations_transitive = { |
Jason Monk | b2c4579 | 2017-12-14 17:30:21 -0500 | [diff] [blame] | 20 | exclude group: 'com.android.support' |
Aurimas Liutikas | 1187af1 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 21 | transitive = true |
| 22 | } |
| 23 | |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 24 | libs.exclude_bytebuddy = { |
| 25 | exclude group: 'net.bytebuddy' |
| 26 | } |
| 27 | |
| 28 | libs.exclude_support = { |
| 29 | exclude group: 'com.android.support' |
| 30 | } |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 31 | |
Aurimas Liutikas | 62d3e1d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 32 | libs.support_exclude_config = { |
| 33 | exclude group: 'android.arch.core' |
| 34 | exclude group: 'android.arch.lifecycle' |
| 35 | } |
Siyamed Sinir | c29ea5f | 2017-03-07 22:10:01 -0800 | [diff] [blame] | 36 | |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 37 | rootProject.ext['libs'] = libs |