| 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" |
| ] |
| } |
| namespace "androidx.leanback.preference" |
| } |
| |
| androidx { |
| name = "AndroidX Leanback Preference" |
| publish = Publish.SNAPSHOT_AND_RELEASE |
| mavenVersion = LibraryVersions.LEANBACK_PREFERENCE |
| inceptionYear = "2015" |
| description = "AndroidX Leanback Preference" |
| failOnDeprecationWarnings = false |
| } |