blob: 5214770de2f70aa8533462869640c4ff1241f7f6 [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("androidx.leanback:leanback:1.1.0-beta01")
}
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
}