[go: nahoru, domu]

blob: fda546cc95d4609ccc715224d4085cfbb5253ff4 [file] [log] [blame]
/**
* This file was created using the `create_project.py` script located in the
* `<AndroidX root>/development/project-creator` directory.
*
* Please use that script when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
import androidx.build.LibraryType
plugins {
id("AndroidXPlugin")
id("com.android.library")
id("kotlin-android")
}
dependencies {
api("androidx.annotation:annotation:1.1.0")
api(project(":core:core"))
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.1")
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("androidx.viewpager2:viewpager2:1.1.0-beta02")
}
}
android {
sourceSets {
main.res.srcDirs "res", "res-public"
}
buildTypes.configureEach {
consumerProguardFiles("proguard-rules.pro")
}
defaultConfig {
multiDexEnabled = true
testInstrumentationRunner "androidx.recyclerview.test.TestRunner"
multiDexEnabled true
}
namespace "androidx.recyclerview"
}
androidx {
name = "RecyclerView"
type = LibraryType.PUBLISHED_LIBRARY
mavenVersion = LibraryVersions.RECYCLERVIEW
inceptionYear = "2014"
description = "Android Support RecyclerView"
failOnDeprecationWarnings = false
metalavaK2UastEnabled = true
}