| /** |
| * This file was created using the `createProject` gradle task (./gradlew createProject) |
| * |
| * Please use the task when creating a new project, rather than copying an existing project and |
| * modifying its settings. |
| */ |
| import androidx.build.SoftwareType |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| } |
| |
| dependencies { |
| api(libs.jspecify) |
| api("androidx.annotation:annotation:1.8.1") |
| implementation("androidx.collection:collection:1.4.2") |
| api("androidx.appcompat:appcompat:1.0.0") |
| api("androidx.recyclerview:recyclerview:1.3.2") |
| api("androidx.preference:preference:1.1.0") |
| api("androidx.leanback:leanback:1.2.0") |
| } |
| |
| android { |
| compileSdk { version = release(35) } |
| namespace = "androidx.leanback.preference" |
| } |
| |
| androidComponents { |
| onVariants(selector().all()) { variant -> |
| variant.sources.java.addStaticSourceDirectory("api21") |
| } |
| } |
| |
| androidx { |
| name = "Leanback Preference" |
| type = SoftwareType.PUBLISHED_LIBRARY |
| mavenVersion = LibraryVersions.LEANBACK_PREFERENCE |
| inceptionYear = "2015" |
| description = "AndroidX Leanback Preference" |
| failOnDeprecationWarnings = false |
| } |