1 import static androidx.build.dependencies.DependenciesKt.* 2 import androidx.build.LibraryGroups 3 import androidx.build.LibraryVersions 4 5 plugins { 6 id("SupportAndroidLibraryPlugin") 7 } 8 9 dependencies { 10 api(project(":annotation")) 11 api(project(":core")) 12 api(project(":customview")) 13 14 androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso) 15 androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso) 16 androidTestImplementation(ESPRESSO_CONTRIB_TMP, libs.exclude_for_espresso) 17 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker 18 androidTestImplementation project(':internal-testutils'), { 19 exclude group: 'androidx.coordinatorlayout', module: 'coordinatorlayout' 20 } 21 } 22 23 android { 24 sourceSets { 25 main.res.srcDirs = [ 26 'src/main/res', 27 'src/main/res-public' 28 ] 29 } 30 buildTypes.all { 31 consumerProguardFiles 'proguard-rules.pro' 32 } 33 } 34 35 supportLibrary { 36 name = "Android Support Library Coordinator Layout" 37 publish = true 38 mavenVersion = LibraryVersions.SUPPORT_LIBRARY 39 mavenGroup = LibraryGroups.COORDINATORLAYOUT 40 inceptionYear = "2011" 41 description = "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later." 42 failOnUncheckedWarnings = false 43 failOnDeprecationWarnings = false 44 } 45