Matthew Fraschilla | 1c2fe046 | 2019-11-20 12:52:04 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018 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 | */ |
Jelle Fresen | 4a13c56 | 2021-11-26 16:50:44 +0000 | [diff] [blame] | 24 | import androidx.build.LibraryType |
Oleksandr Karpovich | 7b8b543 | 2021-12-29 11:49:35 +0100 | [diff] [blame] | 25 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
Jelle Fresen | 4a13c56 | 2021-11-26 16:50:44 +0000 | [diff] [blame] | 26 | |
Matthew Fraschilla | 1c2fe046 | 2019-11-20 12:52:04 -0800 | [diff] [blame] | 27 | plugins { |
| 28 | id("AndroidXPlugin") |
| 29 | id("com.android.library") |
| 30 | id("org.jetbrains.kotlin.android") |
| 31 | } |
| 32 | |
Matthew Fraschilla | 1c2fe046 | 2019-11-20 12:52:04 -0800 | [diff] [blame] | 33 | dependencies { |
Aurimas | 6fee221 | 2024-08-30 00:38:08 +0000 | [diff] [blame] | 34 | api(project(":navigation:navigation-common")) |
Matthew Fraschilla | 1c2fe046 | 2019-11-20 12:52:04 -0800 | [diff] [blame] | 35 | |
Aurimas | 6fee221 | 2024-08-30 00:38:08 +0000 | [diff] [blame] | 36 | testImplementation(project(":navigation:navigation-testing")) |
Ian Lake | ff325da | 2021-05-05 14:55:58 -0700 | [diff] [blame] | 37 | testImplementation("androidx.arch.core:core-testing:2.1.0") |
Aurimas Liutikas | 0044296 | 2021-06-01 17:18:09 -0700 | [diff] [blame] | 38 | testImplementation(libs.junit) |
Aurimas Liutikas | 759f968 | 2022-10-05 07:01:37 -0700 | [diff] [blame] | 39 | testImplementation(libs.mockitoCore4) |
Sanura N'Jaka | ba53f0d | 2021-06-17 03:01:26 +0000 | [diff] [blame] | 40 | testImplementation(libs.truth) |
Oleksandr Karpovich | 7b8b543 | 2021-12-29 11:49:35 +0100 | [diff] [blame] | 41 | testImplementation(libs.kotlinCoroutinesTest) |
Matthew Fraschilla | 1c2fe046 | 2019-11-20 12:52:04 -0800 | [diff] [blame] | 42 | |
Aurimas Liutikas | 0044296 | 2021-06-01 17:18:09 -0700 | [diff] [blame] | 43 | androidTestImplementation(libs.testExtJunit) |
| 44 | androidTestImplementation(libs.testCore) |
| 45 | androidTestImplementation(libs.testRunner) |
| 46 | androidTestImplementation(libs.espressoCore) |
Sanura N'Jaka | b10e726 | 2021-06-17 02:52:57 +0000 | [diff] [blame] | 47 | androidTestImplementation(libs.truth) |
Matthew Fraschilla | 1c2fe046 | 2019-11-20 12:52:04 -0800 | [diff] [blame] | 48 | } |
Jelle Fresen | 4a13c56 | 2021-11-26 16:50:44 +0000 | [diff] [blame] | 49 | |
| 50 | androidx { |
| 51 | type = LibraryType.INTERNAL_TEST_LIBRARY |
| 52 | } |
Oleksandr Karpovich | 7b8b543 | 2021-12-29 11:49:35 +0100 | [diff] [blame] | 53 | |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 54 | android { |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 55 | namespace = "androidx.testutils.navigation" |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 56 | } |