| import androidx.build.Publish |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| id("kotlin-android") |
| } |
| |
| dependencies { |
| api("androidx.annotation:annotation:1.1.0") |
| api "androidx.core:core:1.7.0" |
| implementation("androidx.collection:collection:1.0.0") |
| api("androidx.customview:customview:1.0.0") |
| implementation("androidx.customview:customview-poolingcontainer:1.0.0") |
| implementation("androidx.profileinstaller:profileinstaller:1.3.0") |
| |
| androidTestImplementation(libs.testExtJunit) |
| androidTestImplementation(libs.testCore) |
| androidTestImplementation(libs.testRunner) |
| androidTestImplementation(libs.testRules) |
| androidTestImplementation(libs.espressoCore, excludes.espresso) |
| androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
| androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
| androidTestImplementation(libs.truth) |
| androidTestImplementation(libs.junit) |
| androidTestImplementation(libs.kotlinStdlib) |
| androidTestImplementation(libs.multidex) |
| androidTestImplementation(project(":internal-testutils-espresso")) |
| androidTestImplementation(project(":internal-testutils-runtime")) |
| androidTestImplementation(project(":internal-testutils-common")) |
| androidTestImplementation(libs.multidex) |
| androidTestImplementation(libs.kotlinCoroutinesAndroid) |
| |
| testImplementation(libs.junit) |
| testImplementation(libs.mockitoCore4) |
| testImplementation(libs.kotlinStdlib) |
| lintPublish(project(":recyclerview:recyclerview-lint")) |
| constraints { |
| implementation(project(":viewpager2:viewpager2")) |
| } |
| } |
| |
| android { |
| sourceSets { |
| main.res.srcDirs "res", "res-public" |
| } |
| |
| buildTypes.all { |
| consumerProguardFiles("proguard-rules.pro") |
| } |
| |
| defaultConfig { |
| multiDexEnabled = true |
| testInstrumentationRunner "androidx.recyclerview.test.TestRunner" |
| multiDexEnabled true |
| } |
| namespace "androidx.recyclerview" |
| } |
| |
| androidx { |
| name = "Android Support RecyclerView" |
| publish = Publish.SNAPSHOT_AND_RELEASE |
| mavenVersion = LibraryVersions.RECYCLERVIEW |
| inceptionYear = "2014" |
| description = "Android Support RecyclerView" |
| failOnDeprecationWarnings = false |
| } |