[go: nahoru, domu]

blob: 47904433667af3473fe5d3a567a6a91690d194d2 [file] [log] [blame]
Tiem Songee0da742024-01-03 14:08:46 -08001/**
2 * This file was created using the `create_project.py` script located in the
3 * `<AndroidX root>/development/project-creator` directory.
4 *
5 * Please use that script when creating a new project, rather than copying an existing project and
6 * modifying its settings.
7 */
Omar Ismail86e66062024-05-03 16:10:50 +01008import androidx.build.LibraryType
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -07009
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070010plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010011 id("AndroidXPlugin")
12 id("com.android.library")
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070013}
Jaekyun Seokbc734092014-04-10 08:12:34 +090014
15dependencies {
Ralston Da Silvaaff0cce2022-06-21 16:56:37 -070016 api("androidx.annotation:annotation:1.2.0")
Dake Gu393699c2019-01-08 12:15:14 -080017 api("androidx.interpolator:interpolator:1.0.0")
Nick Anthonybf92cbc2020-02-10 21:11:51 +000018 api("androidx.core:core:1.1.0")
Biswarup Pal57ffc572021-10-08 12:23:50 +000019 api(project(":leanback:leanback-grid"))
Dake Gu393699c2019-01-08 12:15:14 -080020 api("androidx.media:media:1.0.0")
21 api("androidx.fragment:fragment:1.0.0")
Dake Guf87647a2023-10-27 10:18:25 -070022 api("androidx.recyclerview:recyclerview:1.3.2")
Sambit Padhi54e7ffd2020-02-26 18:39:41 +053023 api("androidx.appcompat:appcompat:1.0.0")
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080024
Aurimas Liutikas5a9a40d2021-08-05 16:07:49 -070025 // To avoid manifest merger warnings due to duplicate package names
26 // It can be removed if appcompat library is updated to a newer version
27 implementation("androidx.vectordrawable:vectordrawable-animated:1.1.0")
28
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070029 androidTestImplementation(libs.testExtJunit)
30 androidTestImplementation(libs.testCore)
31 androidTestImplementation(libs.testRunner)
32 androidTestImplementation(libs.testRules)
33 androidTestImplementation(libs.espressoCore, excludes.espresso)
34 androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) // DexMaker has it"s own MockMaker
35 androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) // DexMaker has it"s own MockMaker
Dake Gudf601762020-01-22 17:50:02 -080036 androidTestImplementation(project(":internal-testutils-espresso"))
37 androidTestImplementation(project(":internal-testutils-runtime"))
38 androidTestImplementation(project(":internal-testutils-common"))
Jaekyun Seokbc734092014-04-10 08:12:34 +090039}
40
41android {
Jaekyun Seokbc734092014-04-10 08:12:34 +090042 sourceSets {
Aurimas Liutikas3ebde3b2018-02-14 15:53:39 -080043 main.java.srcDirs += [
Jim Sproch9e38b4f2021-01-06 14:21:06 -080044 "common",
45 "kitkat",
46 "api21",
Alan Viverette9439d702016-10-25 14:45:10 +010047 ]
Jaekyun Seokbc734092014-04-10 08:12:34 +090048 }
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070049 namespace "androidx.leanback"
Xavier Ducrohet9acddc72014-05-28 22:20:01 -070050}
51
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070052androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040053 name = "Leanback"
Omar Ismail86e66062024-05-03 16:10:50 +010054 type = LibraryType.PUBLISHED_LIBRARY
Biswarup Pal57ffc572021-10-08 12:23:50 +000055 mavenVersion = LibraryVersions.LEANBACK
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080056 inceptionYear = "2014"
57 description = "Android Support Leanback v17"
Jinseong Jeonfdc22de2024-01-03 15:39:37 -080058 metalavaK2UastEnabled = true
Aurimas Liutikasbfef0932018-04-04 13:25:38 -070059 failOnDeprecationWarnings = false
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080060}