1import androidx.build.LibraryGroups
2import androidx.build.LibraryVersions
3
4plugins {
5    id("SupportAndroidLibraryPlugin")
6}
7
8dependencies {
9    api(project(":collection"))
10    api(project(":appcompat"))
11    api(project(":recyclerview"))
12    api(project(":preference"))
13    api(project(":legacy-preference-v14"))
14    api(project(":leanback"))
15}
16
17android {
18    sourceSets {
19        main.java.srcDirs += [
20                'api21'
21        ]
22    }
23}
24
25supportLibrary {
26    name = "Android Support Leanback Preference v17"
27    publish = true
28    mavenVersion = LibraryVersions.SUPPORT_LIBRARY
29    mavenGroup = LibraryGroups.LEANBACK
30    inceptionYear = "2015"
31    description = "Android Support Leanback Preference v17"
32    minSdkVersion = 17
33    failOnDeprecationWarnings = false
34}