Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +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 | |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 17 | import androidx.build.Publish |
Oleksandr Karpovich | 7b8b543 | 2021-12-29 11:49:35 +0100 | [diff] [blame] | 18 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 19 | |
| 20 | plugins { |
| 21 | id("AndroidXPlugin") |
| 22 | id("com.android.library") |
| 23 | id("kotlin-android") |
| 24 | } |
| 25 | |
Ian Lake | d08b0da | 2021-04-29 15:24:15 -0700 | [diff] [blame] | 26 | android { |
| 27 | defaultConfig { |
| 28 | multiDexEnabled true |
| 29 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 30 | namespace "androidx.navigation.dynamicfeatures" |
Ian Lake | d08b0da | 2021-04-29 15:24:15 -0700 | [diff] [blame] | 31 | } |
| 32 | |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 33 | dependencies { |
Jeremy Woods | 14523ed | 2021-04-07 09:22:44 -0700 | [diff] [blame] | 34 | api(project(":navigation:navigation-runtime")) |
Ian Lake | 207af28 | 2022-10-25 20:58:46 +0000 | [diff] [blame] | 35 | api(libs.playFeatureDelivery) |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 36 | |
Ian Lake | d4f6ac6 | 2021-05-06 16:51:03 -0700 | [diff] [blame] | 37 | testImplementation(project(":navigation:navigation-testing")) |
Jeremy Woods | 5dc7b57 | 2023-05-01 22:46:22 +0000 | [diff] [blame] | 38 | testImplementation("androidx.arch.core:core-testing:2.2.0") |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 39 | testImplementation(libs.testCore) |
| 40 | testImplementation(libs.testExtJunit) |
| 41 | testImplementation(libs.testRunner) |
| 42 | testImplementation(libs.junit) |
Aurimas Liutikas | 759f968 | 2022-10-05 07:01:37 -0700 | [diff] [blame] | 43 | testImplementation(libs.mockitoCore4) |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 44 | testImplementation(libs.robolectric) |
| 45 | testImplementation(libs.truth) |
Oleksandr Karpovich | 7b8b543 | 2021-12-29 11:49:35 +0100 | [diff] [blame] | 46 | testImplementation(libs.kotlinCoroutinesTest) |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +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) |
| 56 | androidTestImplementation(libs.multidex) |
Ben Weiss | a4996f6b | 2021-05-25 22:24:52 +0100 | [diff] [blame] | 57 | androidTestImplementation(project(":internal-testutils-runtime"), { |
| 58 | exclude group: "androidx.fragment", module: "fragment" |
| 59 | }) |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 60 | } |
| 61 | |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 62 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 63 | name = "Dynamic Feature Navigation Runtime" |
Ian Lake | 2b0e8eb | 2020-01-22 15:17:14 -0800 | [diff] [blame] | 64 | publish = Publish.SNAPSHOT_AND_RELEASE |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 65 | inceptionYear = "2019" |
Ian Lake | 173028c | 2020-01-22 14:34:37 -0800 | [diff] [blame] | 66 | description = "Android Dynamic Feature Navigation Runtime" |
Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame^] | 67 | metalavaK2UastEnabled = true |
| 68 | } |