import static androidx.build.dependencies.DependenciesKt.*
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
plugins {
id("SupportAndroidLibraryPlugin")
}
dependencies {
api(project(":appcompat"))
api(project(":cardview"))
api(project(":annotation"))
api(project(":legacy-support-v4"))
api(project(":recyclerview"))
api(project(":gridlayout"))
api(SUPPORT_DESIGN, libs.exclude_for_material)
androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso)
androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso)
androidTestImplementation(ESPRESSO_CONTRIB_TMP, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
testImplementation(JUNIT)
testImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso)
testImplementation(MOCKITO_CORE)
compileOnly fileTree(dir: 'car-stubs', include: ['android.car.jar'])
// androidTest uses android.car APIs to provide test utility.
androidTestCompileOnly fileTree(dir: 'car-stubs', include: ['android.car.jar'])
}
android {
sourceSets {
main.res.srcDirs 'res', 'res-public'
}
}
supportLibrary {
name = "Android Car Support UI"
publish = true
mavenVersion = LibraryVersions.SUPPORT_LIBRARY
mavenGroup = LibraryGroups.CAR
inceptionYear = "2017"
description = "Android Car Support UI"
java8Library = true
minSdkVersion = 24
failOnUncheckedWarnings = false
}