blob: 0e960190278f7b23aa95ac28650a4d45374beec0 [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("com.android.support:design-widget:28.0.0-alpha1") {
exclude group: 'com.android.support', module: 'support-annotations'
exclude group: 'com.android.support', module: 'support-compat'
exclude group: 'com.android.support', module: 'support-core-ui'
exclude group: 'com.android.support', module: 'support-core-utils'
exclude group: 'com.android.support', module: 'support-fragment'
exclude group: 'com.android.support', module: 'transition'
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'recyclerview-v7'
exclude group: 'com.android.support', module: 'cardview-v7'
}
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
}