1import static androidx.build.dependencies.DependenciesKt.*
2import androidx.build.LibraryGroups
3import androidx.build.LibraryVersions
4
5plugins {
6    id("SupportAndroidLibraryPlugin")
7    id("kotlin-android")
8}
9
10dependencies {
11    api(project(":annotation"))
12    api(project(":core"))
13    api(project(":legacy-support-core-ui"))
14
15    androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso)
16    androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso)
17    androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
18    androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
19    androidTestImplementation(JUNIT)
20    androidTestImplementation(KOTLIN_STDLIB)
21    androidTestImplementation(project(":internal-testutils"))
22
23    testImplementation(JUNIT)
24    testImplementation(MOCKITO_CORE)
25    testImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso)
26}
27
28android {
29    sourceSets {
30        main.res.srcDirs "res", "res-public"
31    }
32
33    buildTypes.all {
34        consumerProguardFiles("proguard-rules.pro")
35    }
36}
37
38supportLibrary {
39    name = "Android Support RecyclerView v7"
40    publish = true
41    mavenVersion = LibraryVersions.SUPPORT_LIBRARY
42    mavenGroup = LibraryGroups.RECYCLERVIEW
43    inceptionYear = "2014"
44    description = "Android Support RecyclerView v7"
45    failOnUncheckedWarnings = false
46    failOnDeprecationWarnings = false
47}
48