Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2016 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
Tiem Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 18 | * This file was created using the `create_project.py` script located in the |
| 19 | * `<AndroidX root>/development/project-creator` directory. |
| 20 | * |
| 21 | * Please use that script when creating a new project, rather than copying an existing project and |
| 22 | * modifying its settings. |
| 23 | */ |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 24 | import androidx.build.LibraryType |
Sergey Vasilinets | 15d5a9d | 2021-06-25 14:30:22 +0100 | [diff] [blame] | 25 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 26 | |
| 27 | plugins { |
| 28 | id("AndroidXPlugin") |
| 29 | id("com.android.library") |
| 30 | id("kotlin-android") |
Clara Fok | 3e77309 | 2024-04-05 14:11:45 -0700 | [diff] [blame] | 31 | alias(libs.plugins.kotlinSerialization) |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 32 | } |
| 33 | |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 34 | dependencies { |
Ian Lake | 173028c | 2020-01-22 14:34:37 -0800 | [diff] [blame] | 35 | api(project(":navigation:navigation-dynamic-features-runtime")) |
Jeremy Woods | 14523ed | 2021-04-07 09:22:44 -0700 | [diff] [blame] | 36 | api(project(":navigation:navigation-fragment")) |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 37 | api(libs.kotlinStdlib) |
Clara Fok | 3e77309 | 2024-04-05 14:11:45 -0700 | [diff] [blame] | 38 | implementation(libs.kotlinSerializationCore) |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 39 | |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 40 | testImplementation(libs.testCore) |
| 41 | testImplementation(libs.testExtJunit) |
| 42 | testImplementation(libs.testRunner) |
| 43 | testImplementation(libs.junit) |
Aurimas Liutikas | 759f968 | 2022-10-05 07:01:37 -0700 | [diff] [blame] | 44 | testImplementation(libs.mockitoCore4) |
Ben Weiss | a4996f6b | 2021-05-25 22:24:52 +0100 | [diff] [blame] | 45 | testImplementation(libs.robolectric) |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 46 | testImplementation(libs.truth) |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 47 | |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 48 | androidTestImplementation(libs.testCore) |
| 49 | androidTestImplementation(libs.testExtJunit) |
| 50 | androidTestImplementation(libs.testRules) |
| 51 | androidTestImplementation(libs.testRunner) |
| 52 | androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) |
| 53 | androidTestImplementation(libs.espressoCore) |
| 54 | androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) |
| 55 | androidTestImplementation(libs.truth) |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 56 | androidTestImplementation(project(":internal-testutils-runtime"), { |
| 57 | exclude group: "androidx.fragment", module: "fragment" |
| 58 | }) |
Jim Sproch | e238bad | 2021-03-23 16:47:15 -0700 | [diff] [blame] | 59 | } |
| 60 | |
| 61 | android { |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 62 | namespace "androidx.navigation.dynamicfeatures.fragment" |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 63 | } |
| 64 | |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 65 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 66 | name = "Dynamic Feature Navigation Fragment" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 67 | type = LibraryType.PUBLISHED_LIBRARY |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 68 | inceptionYear = "2019" |
| 69 | description = "Android Dynamic Feature Navigation Fragment" |
Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame] | 70 | metalavaK2UastEnabled = true |
Aurimas Liutikas | 5c5419a | 2024-05-29 15:26:58 -0700 | [diff] [blame] | 71 | legacyDisableKotlinStrictApiMode = true |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 72 | } |