blob: f15ff02248bbf992ab0cc37a076894b6b8eb1ae8 [file] [log] [blame]
import static android.support.dependencies.DependenciesKt.*
import android.support.LibraryGroups
import android.support.LibraryVersions
plugins {
id("SupportAndroidLibraryPlugin")
}
dependencies {
api project(':appcompat-v7')
api project(':cardview-v7')
api project(':design')
api project(':support-annotations')
api project(':support-v4')
api project(':recyclerview-v7')
androidTestImplementation(TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(ESPRESSO_CONTRIB, libs.exclude_support)
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)
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 = false
mavenVersion = LibraryVersions.SUPPORT_LIBRARY
mavenGroup = LibraryGroups.SUPPORT
inceptionYear = "2017"
description = "Android Car Support UI"
java8Library = true
minSdkVersion = 24
}