Tiem Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 1 | /** |
| 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 Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 8 | import androidx.build.LibraryType |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 9 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 10 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 11 | id("AndroidXPlugin") |
| 12 | id("com.android.library") |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 13 | } |
Jaekyun Seok | bc73409 | 2014-04-10 08:12:34 +0900 | [diff] [blame] | 14 | |
| 15 | dependencies { |
Ralston Da Silva | aff0cce | 2022-06-21 16:56:37 -0700 | [diff] [blame] | 16 | api("androidx.annotation:annotation:1.2.0") |
Dake Gu | 393699c | 2019-01-08 12:15:14 -0800 | [diff] [blame] | 17 | api("androidx.interpolator:interpolator:1.0.0") |
Nick Anthony | bf92cbc | 2020-02-10 21:11:51 +0000 | [diff] [blame] | 18 | api("androidx.core:core:1.1.0") |
Biswarup Pal | 57ffc57 | 2021-10-08 12:23:50 +0000 | [diff] [blame] | 19 | api(project(":leanback:leanback-grid")) |
Dake Gu | 393699c | 2019-01-08 12:15:14 -0800 | [diff] [blame] | 20 | api("androidx.media:media:1.0.0") |
| 21 | api("androidx.fragment:fragment:1.0.0") |
Dake Gu | f87647a | 2023-10-27 10:18:25 -0700 | [diff] [blame] | 22 | api("androidx.recyclerview:recyclerview:1.3.2") |
Sambit Padhi | 54e7ffd | 2020-02-26 18:39:41 +0530 | [diff] [blame] | 23 | api("androidx.appcompat:appcompat:1.0.0") |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 24 | |
Aurimas Liutikas | 5a9a40d | 2021-08-05 16:07:49 -0700 | [diff] [blame] | 25 | // 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 Liutikas | b3483fd | 2021-06-04 16:56:37 -0700 | [diff] [blame] | 29 | 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 Gu | df60176 | 2020-01-22 17:50:02 -0800 | [diff] [blame] | 36 | androidTestImplementation(project(":internal-testutils-espresso")) |
| 37 | androidTestImplementation(project(":internal-testutils-runtime")) |
| 38 | androidTestImplementation(project(":internal-testutils-common")) |
Jaekyun Seok | bc73409 | 2014-04-10 08:12:34 +0900 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | android { |
Jaekyun Seok | bc73409 | 2014-04-10 08:12:34 +0900 | [diff] [blame] | 42 | sourceSets { |
Aurimas Liutikas | 3ebde3b | 2018-02-14 15:53:39 -0800 | [diff] [blame] | 43 | main.java.srcDirs += [ |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 44 | "common", |
| 45 | "kitkat", |
| 46 | "api21", |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 47 | ] |
Jaekyun Seok | bc73409 | 2014-04-10 08:12:34 +0900 | [diff] [blame] | 48 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 49 | namespace "androidx.leanback" |
Xavier Ducrohet | 9acddc7 | 2014-05-28 22:20:01 -0700 | [diff] [blame] | 50 | } |
| 51 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 52 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 53 | name = "Leanback" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 54 | type = LibraryType.PUBLISHED_LIBRARY |
Biswarup Pal | 57ffc57 | 2021-10-08 12:23:50 +0000 | [diff] [blame] | 55 | mavenVersion = LibraryVersions.LEANBACK |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 56 | inceptionYear = "2014" |
| 57 | description = "Android Support Leanback v17" |
Jinseong Jeon | fdc22de | 2024-01-03 15:39:37 -0800 | [diff] [blame] | 58 | metalavaK2UastEnabled = true |
Aurimas Liutikas | bfef093 | 2018-04-04 13:25:38 -0700 | [diff] [blame] | 59 | failOnDeprecationWarnings = false |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 60 | } |