blob: 019f1c128fef0011b6fc86caf7dea12be399b113 [file] [log] [blame]
Ben Weiss7b60fa72019-07-30 15:51:26 +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
Ben Weiss7b60fa72019-07-30 15:51:26 +010025
26plugins {
27id("AndroidXPlugin")
28id("com.android.library")
29id("kotlin-android")
Clara Fok29074902024-04-05 06:57:03 -070030alias(libs.plugins.kotlinSerialization)
Ben Weiss7b60fa72019-07-30 15:51:26 +010031}
32
Ian Laked08b0da2021-04-29 15:24:15 -070033android {
34defaultConfig {
35multiDexEnabled true
36}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070037namespace "androidx.navigation.dynamicfeatures"
Ian Laked08b0da2021-04-29 15:24:15 -070038}
39
Ben Weiss7b60fa72019-07-30 15:51:26 +010040dependencies {
Jeremy Woods14523ed2021-04-07 09:22:44 -070041api(project(":navigation:navigation-runtime"))
Ian Lake207af282022-10-25 20:58:46 +000042api(libs.playFeatureDelivery)
Clara Fok29074902024-04-05 06:57:03 -070043implementation(libs.kotlinSerializationCore)
Ben Weiss7b60fa72019-07-30 15:51:26 +010044
Ian Laked4f6ac62021-05-06 16:51:03 -070045testImplementation(project(":navigation:navigation-testing"))
Jeremy Woods5dc7b572023-05-01 22:46:22 +000046testImplementation("androidx.arch.core:core-testing:2.2.0")
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070047testImplementation(libs.testCore)
48testImplementation(libs.testExtJunit)
49testImplementation(libs.testRunner)
50testImplementation(libs.junit)
Aurimas Liutikas759f9682022-10-05 07:01:37 -070051testImplementation(libs.mockitoCore4)
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070052testImplementation(libs.robolectric)
53testImplementation(libs.truth)
Oleksandr Karpovich7b8b5432021-12-29 11:49:35 +010054testImplementation(libs.kotlinCoroutinesTest)
Ben Weiss7b60fa72019-07-30 15:51:26 +010055
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070056androidTestImplementation(libs.testCore)
57androidTestImplementation(libs.testExtJunit)
58androidTestImplementation(libs.testRules)
59androidTestImplementation(libs.testRunner)
60androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy)
61androidTestImplementation(libs.espressoCore)
62androidTestImplementation(libs.mockitoCore, excludes.bytebuddy)
63androidTestImplementation(libs.truth)
64androidTestImplementation(libs.multidex)
Ben Weissa4996f6b2021-05-25 22:24:52 +010065androidTestImplementation(project(":internal-testutils-runtime"), {
66exclude group: "androidx.fragment", module: "fragment"
67})
Ben Weiss7b60fa72019-07-30 15:51:26 +010068}
69
Ben Weiss7b60fa72019-07-30 15:51:26 +010070androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040071name = "Dynamic Feature Navigation Runtime"
Omar Ismail86e66062024-05-03 16:10:50 +010072type = LibraryType.PUBLISHED_LIBRARY
Ben Weiss7b60fa72019-07-30 15:51:26 +010073inceptionYear = "2019"
Ian Lake173028c2020-01-22 14:34:37 -080074description = "Android Dynamic Feature Navigation Runtime"
Jinseong Jeon999075e2023-08-22 00:40:11 -070075metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070076legacyDisableKotlinStrictApiMode = true
Jinseong Jeon999075e2023-08-22 00:40:11 -070077}