blob: caedc44a3e87b8e3ee6055dd497a76ecf5ac8a73 [file] [log] [blame]
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
import androidx.build.Publish
plugins {
id("AndroidXPlugin")
id("com.android.library")
}
dependencies {
api("androidx.annotation:annotation:1.1.0")
implementation("androidx.collection:collection:1.0.0")
api("androidx.appcompat:appcompat:1.0.0")
api("androidx.recyclerview:recyclerview:1.0.0")
api("androidx.preference:preference:1.1.0")
api(project(":leanback:leanback"))
}
android {
defaultConfig {
minSdkVersion 21
}
sourceSets {
main.java.srcDirs += [
'api21'
]
}
}
androidx {
name = "AndroidX Leanback Preference"
publish = Publish.SNAPSHOT_AND_RELEASE
mavenVersion = LibraryVersions.LEANBACK_PREFERENCE
mavenGroup = LibraryGroups.LEANBACK
inceptionYear = "2015"
description = "AndroidX Leanback Preference"
failOnDeprecationWarnings = false
}