[go: nahoru, domu]

blob: 63a98a1a373dc03bbf3e0bd64407db7ebd5308ee [file] [log] [blame]
Ben Weiss7c1e1042019-09-13 13:05:23 +01001/*
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 Songee0da742024-01-03 14:08:46 -080017/**
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 Ismail86e66062024-05-03 16:10:50 +010024import androidx.build.LibraryType
Sergey Vasilinets15d5a9d2021-06-25 14:30:22 +010025import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
Ben Weiss7c1e1042019-09-13 13:05:23 +010026
27plugins {
28 id("AndroidXPlugin")
29 id("com.android.library")
30 id("kotlin-android")
Clara Fok3e773092024-04-05 14:11:45 -070031 alias(libs.plugins.kotlinSerialization)
Ben Weiss7c1e1042019-09-13 13:05:23 +010032}
33
Ben Weiss7c1e1042019-09-13 13:05:23 +010034dependencies {
Ian Lake173028c2020-01-22 14:34:37 -080035 api(project(":navigation:navigation-dynamic-features-runtime"))
Jeremy Woods14523ed2021-04-07 09:22:44 -070036 api(project(":navigation:navigation-fragment"))
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070037 api(libs.kotlinStdlib)
Clara Fok3e773092024-04-05 14:11:45 -070038 implementation(libs.kotlinSerializationCore)
Ben Weiss7c1e1042019-09-13 13:05:23 +010039
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070040 testImplementation(libs.testCore)
41 testImplementation(libs.testExtJunit)
42 testImplementation(libs.testRunner)
43 testImplementation(libs.junit)
Aurimas Liutikas759f9682022-10-05 07:01:37 -070044 testImplementation(libs.mockitoCore4)
Ben Weissa4996f6b2021-05-25 22:24:52 +010045 testImplementation(libs.robolectric)
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070046 testImplementation(libs.truth)
Ben Weiss7c1e1042019-09-13 13:05:23 +010047
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070048 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 Sproch9e38b4f2021-01-06 14:21:06 -080056 androidTestImplementation(project(":internal-testutils-runtime"), {
57 exclude group: "androidx.fragment", module: "fragment"
58 })
Jim Sproche238bad2021-03-23 16:47:15 -070059}
60
61android {
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070062 namespace "androidx.navigation.dynamicfeatures.fragment"
Ben Weiss7c1e1042019-09-13 13:05:23 +010063}
64
Ben Weiss7c1e1042019-09-13 13:05:23 +010065androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040066 name = "Dynamic Feature Navigation Fragment"
Omar Ismail86e66062024-05-03 16:10:50 +010067 type = LibraryType.PUBLISHED_LIBRARY
Ben Weiss7c1e1042019-09-13 13:05:23 +010068 inceptionYear = "2019"
69 description = "Android Dynamic Feature Navigation Fragment"
Jinseong Jeon999075e2023-08-22 00:40:11 -070070 metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070071 legacyDisableKotlinStrictApiMode = true
Ben Weiss7c1e1042019-09-13 13:05:23 +010072}