Steve McKay | 63d2846 | 2017-10-05 08:53:42 -0700 | [diff] [blame] | 1 | /* |
| 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 | |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 17 | import static android.support.dependencies.DependenciesKt.* |
| 18 | |
Steve McKay | 63d2846 | 2017-10-05 08:53:42 -0700 | [diff] [blame] | 19 | plugins { |
| 20 | id("SupportAndroidLibraryPlugin") |
| 21 | } |
| 22 | |
| 23 | dependencies { |
| 24 | api project(':recyclerview-v7') |
| 25 | api project(':support-annotations') |
| 26 | api project(':support-compat') |
| 27 | |
Jake Wharton | 66807fc | 2017-12-05 14:44:35 -0500 | [diff] [blame] | 28 | androidTestImplementation(TEST_RUNNER) |
| 29 | androidTestImplementation(ESPRESSO_CORE) |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 30 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 31 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 32 | androidTestImplementation(JUNIT) |
Steve McKay | 63d2846 | 2017-10-05 08:53:42 -0700 | [diff] [blame] | 33 | } |
| 34 | |
Steve McKay | 63d2846 | 2017-10-05 08:53:42 -0700 | [diff] [blame] | 35 | android { |
| 36 | defaultConfig { |
| 37 | minSdkVersion 14 |
| 38 | } |
| 39 | sourceSets { |
| 40 | main.res.srcDirs 'res', 'res-public' |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | supportLibrary { |
| 45 | name 'Android RecyclerView Selection' |
| 46 | publish false |
| 47 | legacySourceLocation true |
| 48 | inceptionYear '2017' |
| 49 | description 'Library providing item selection framework for RecyclerView. Support for single and multi selection is provided.' |
| 50 | } |