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 | 44d7d86 | 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") |
Jeremy Woods | 366bb45 | 2019-09-16 13:29:48 -0700 | [diff] [blame] | 13 | id("kotlin-android") |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 14 | } |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 15 | |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 16 | dependencies { |
Owen Gray | ff0b772 | 2022-06-21 08:03:14 -0400 | [diff] [blame] | 17 | api("androidx.annotation:annotation:1.2.0") |
Jeremy Woods | 8aaf581 | 2024-04-04 19:27:22 +0000 | [diff] [blame] | 18 | api("androidx.core:core:1.13.0") |
Jeremy Woods | 900fa57 | 2019-09-10 02:10:35 -0700 | [diff] [blame] | 19 | implementation("androidx.collection:collection:1.1.0") |
Prajakta Patil | 5331ba8 | 2024-04-09 01:24:13 +0000 | [diff] [blame] | 20 | compileOnly("androidx.fragment:fragment:1.7.0-rc02") |
Nick Anthony | ac61c5d | 2019-03-29 15:02:37 +0000 | [diff] [blame] | 21 | compileOnly("androidx.appcompat:appcompat:1.0.1") |
George Mount | a691c2b | 2023-06-28 16:35:59 -0700 | [diff] [blame] | 22 | implementation("androidx.dynamicanimation:dynamicanimation:1.0.0") |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 23 | |
Aurimas Liutikas | 43ec0d6 | 2021-05-24 16:11:36 -0700 | [diff] [blame] | 24 | androidTestImplementation(libs.kotlinStdlib) |
| 25 | androidTestImplementation(libs.testExtJunit) |
| 26 | androidTestImplementation(libs.testCore) |
| 27 | androidTestImplementation(libs.testRunner) |
| 28 | androidTestImplementation(libs.testRules) |
| 29 | androidTestImplementation(libs.truth) |
| 30 | androidTestImplementation(libs.espressoCore, excludes.espresso) |
| 31 | androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
| 32 | androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
George Mount | abef07e | 2023-03-13 14:00:33 -0700 | [diff] [blame] | 33 | androidTestImplementation(libs.opentest4j) |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 34 | androidTestImplementation(project(":fragment:fragment")) |
Ian Lake | 6f072e1c | 2019-09-23 15:35:25 -0700 | [diff] [blame] | 35 | androidTestImplementation("androidx.appcompat:appcompat:1.1.0") |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 36 | androidTestImplementation(project(":internal-testutils-runtime"), { |
| 37 | exclude group: "androidx.fragment", module: "fragment" |
| 38 | }) |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | android { |
Omar Ismail | 7244477 | 2024-05-14 14:55:28 +0100 | [diff] [blame] | 42 | buildTypes.configureEach { |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 43 | consumerProguardFiles "proguard-rules.pro" |
Yuichi Araki | 3f82583 | 2017-06-15 16:58:52 +0900 | [diff] [blame] | 44 | } |
Yuichi Araki | 8158051 | 2017-02-09 15:55:53 +0900 | [diff] [blame] | 45 | aaptOptions { |
| 46 | additionalParameters "--no-version-transitions" |
| 47 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 48 | namespace "androidx.transition" |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 49 | } |
| 50 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 51 | androidx { |
Alan Viverette | a46238ed | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 52 | name = "Transition" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 53 | type = LibraryType.PUBLISHED_LIBRARY |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 54 | inceptionYear = "2016" |
| 55 | description = "Android Transition Support Library" |
Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame] | 56 | metalavaK2UastEnabled = true |
Aurimas Liutikas | 5c5419a | 2024-05-29 15:26:58 -0700 | [diff] [blame] | 57 | legacyDisableKotlinStrictApiMode = true |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 58 | } |