blob: d4685826bea43ee45c18629730f03795aea76506 [file] [log] [blame]
Steve McKay63d28462017-10-05 08:53:42 -07001/*
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 Liutikasb8fd9b62017-11-22 12:55:43 -080017import static android.support.dependencies.DependenciesKt.*
Steve McKay7fb76352017-11-17 11:21:15 -080018import android.support.LibraryGroups
19import android.support.LibraryVersions
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080020
Steve McKay63d28462017-10-05 08:53:42 -070021plugins {
22 id("SupportAndroidLibraryPlugin")
23}
24
25dependencies {
26 api project(':recyclerview-v7')
27 api project(':support-annotations')
28 api project(':support-compat')
29
Jake Wharton66807fc2017-12-05 14:44:35 -050030 androidTestImplementation(TEST_RUNNER)
31 androidTestImplementation(ESPRESSO_CORE)
Steve McKay7fb76352017-11-17 11:21:15 -080032 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 Liutikasb8fd9b62017-11-22 12:55:43 -080034 androidTestImplementation(JUNIT)
Steve McKay63d28462017-10-05 08:53:42 -070035}
36
Steve McKay63d28462017-10-05 08:53:42 -070037android {
38 defaultConfig {
39 minSdkVersion 14
40 }
41 sourceSets {
42 main.res.srcDirs 'res', 'res-public'
43 }
44}
45
46supportLibrary {
47 name 'Android RecyclerView Selection'
Steve McKay83f74642018-01-26 15:18:55 -080048 publish false
Steve McKay7fb76352017-11-17 11:21:15 -080049 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
50 mavenGroup = LibraryGroups.SUPPORT
Steve McKay63d28462017-10-05 08:53:42 -070051 inceptionYear '2017'
Steve McKay7fb76352017-11-17 11:21:15 -080052 description 'Library providing item selection framework for RecyclerView. Support for touch based and band selection is provided.'
53 legacySourceLocation true
Steve McKay63d28462017-10-05 08:53:42 -070054}