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