blob: f69163994c0462dabcb7d94539f34787fc2b6411 [file] [log] [blame]
Matthew Fraschilla1c2fe0462019-11-20 12:52:04 -08001/*
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 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 */
Jelle Fresen4a13c562021-11-26 16:50:44 +000024import androidx.build.LibraryType
Oleksandr Karpovich7b8b5432021-12-29 11:49:35 +010025import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
Jelle Fresen4a13c562021-11-26 16:50:44 +000026
Matthew Fraschilla1c2fe0462019-11-20 12:52:04 -080027plugins {
28 id("AndroidXPlugin")
29 id("com.android.library")
30 id("org.jetbrains.kotlin.android")
31}
32
Matthew Fraschilla1c2fe0462019-11-20 12:52:04 -080033dependencies {
Aurimas6fee2212024-08-30 00:38:08 +000034 api(project(":navigation:navigation-common"))
Matthew Fraschilla1c2fe0462019-11-20 12:52:04 -080035
Aurimas6fee2212024-08-30 00:38:08 +000036 testImplementation(project(":navigation:navigation-testing"))
Ian Lakeff325da2021-05-05 14:55:58 -070037 testImplementation("androidx.arch.core:core-testing:2.1.0")
Aurimas Liutikas00442962021-06-01 17:18:09 -070038 testImplementation(libs.junit)
Aurimas Liutikas759f9682022-10-05 07:01:37 -070039 testImplementation(libs.mockitoCore4)
Sanura N'Jakaba53f0d2021-06-17 03:01:26 +000040 testImplementation(libs.truth)
Oleksandr Karpovich7b8b5432021-12-29 11:49:35 +010041 testImplementation(libs.kotlinCoroutinesTest)
Matthew Fraschilla1c2fe0462019-11-20 12:52:04 -080042
Aurimas Liutikas00442962021-06-01 17:18:09 -070043 androidTestImplementation(libs.testExtJunit)
44 androidTestImplementation(libs.testCore)
45 androidTestImplementation(libs.testRunner)
46 androidTestImplementation(libs.espressoCore)
Sanura N'Jakab10e7262021-06-17 02:52:57 +000047 androidTestImplementation(libs.truth)
Matthew Fraschilla1c2fe0462019-11-20 12:52:04 -080048}
Jelle Fresen4a13c562021-11-26 16:50:44 +000049
50androidx {
51 type = LibraryType.INTERNAL_TEST_LIBRARY
52}
Oleksandr Karpovich7b8b5432021-12-29 11:49:35 +010053
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070054android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080055 namespace = "androidx.testutils.navigation"
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070056}