blob: 1aac22dc40f47bd1d983349bf33a4c6a9baa8694 [file] [log] [blame]
import static androidx.build.dependencies.DependenciesKt.*
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
plugins {
id("AndroidXPlugin")
id("com.android.library")
}
dependencies {
api("androidx.annotation:annotation:1.1.0-rc01")
api(project(":swiperefreshlayout"))
api(project(":fragment"))
api(project(":recyclerview"))
api(CONSTRAINT_LAYOUT, { transitive = true })
androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
androidTestImplementation(ANDROIDX_TEST_CORE)
androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, 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
compileOnly fileTree(dir: 'wear_stubs', include: ['com.google.android.wearable-stubs.jar'])
}
android {
defaultConfig {
minSdkVersion 23
}
sourceSets {
main.res.srcDirs 'res', 'res-public'
main.resources {
includes = ["wear_stubs/LICENSE"]
}
}
}
androidx {
name = "Android Wear Support UI"
publish = true
mavenVersion = LibraryVersions.WEAR
mavenGroup = LibraryGroups.WEAR
inceptionYear = "2016"
description = "Android Wear Support UI"
failOnDeprecationWarnings = false
trackRestrictedAPIs = false
}