blob: 098124008f076feb294adc7c56ee1e0f8d21abe2 [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
17import static androidx.build.dependencies.DependenciesKt.*
18import androidx.build.LibraryGroups
19import androidx.build.LibraryVersions
20import androidx.build.AndroidXExtension
21import androidx.build.Publish
22
23plugins {
24 id("AndroidXPlugin")
25 id("com.android.library")
26 id("kotlin-android")
27}
28
Ian Laked08b0da2021-04-29 15:24:15 -070029android {
30 defaultConfig {
31 multiDexEnabled true
32 }
33}
34
Ben Weiss7b60fa72019-07-30 15:51:26 +010035dependencies {
Jeremy Woods14523ed2021-04-07 09:22:44 -070036 api(project(":navigation:navigation-runtime"))
Ian Lakecfa3d892020-04-08 11:13:16 -070037 api(PLAY_CORE)
Ian Lake322cd822019-11-07 15:47:11 -080038 api(KOTLIN_STDLIB)
Ben Weiss7b60fa72019-07-30 15:51:26 +010039
Ian Laked4f6ac62021-05-06 16:51:03 -070040 testImplementation(project(":navigation:navigation-testing"))
41 testImplementation("androidx.arch.core:core-testing:2.1.0")
Ben Weiss7b60fa72019-07-30 15:51:26 +010042 testImplementation(ANDROIDX_TEST_CORE)
43 testImplementation(ANDROIDX_TEST_EXT_JUNIT)
44 testImplementation(ANDROIDX_TEST_RUNNER)
45 testImplementation(JUNIT)
Ben Weiss7b60fa72019-07-30 15:51:26 +010046 testImplementation(MOCKITO_CORE)
Wojtek KaliciƄski3ba2d722019-09-13 12:54:47 +010047 testImplementation(ROBOLECTRIC)
Ben Weiss7b60fa72019-07-30 15:51:26 +010048 testImplementation(TRUTH)
49
50 androidTestImplementation(ANDROIDX_TEST_CORE)
51 androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
Ian Lakeef64e2c2020-01-22 14:21:57 -080052 androidTestImplementation(ANDROIDX_TEST_RULES)
Ben Weiss7b60fa72019-07-30 15:51:26 +010053 androidTestImplementation(ANDROIDX_TEST_RUNNER)
Aurimas Liutikas9bf4f7e2021-04-23 14:17:30 -070054 androidTestImplementation(DEXMAKER_MOCKITO, excludes.bytebuddy)
Ben Weiss7b60fa72019-07-30 15:51:26 +010055 androidTestImplementation(ESPRESSO_CORE)
Aurimas Liutikas9bf4f7e2021-04-23 14:17:30 -070056 androidTestImplementation(MOCKITO_CORE, excludes.bytebuddy)
Ben Weiss7b60fa72019-07-30 15:51:26 +010057 androidTestImplementation(TRUTH)
Ian Laked08b0da2021-04-29 15:24:15 -070058 androidTestImplementation(MULTIDEX)
Ben Weiss7b60fa72019-07-30 15:51:26 +010059}
60
Ben Weiss7b60fa72019-07-30 15:51:26 +010061androidx {
Ian Lake173028c2020-01-22 14:34:37 -080062 name = "Android Dynamic Feature Navigation Runtime"
Ian Lake2b0e8eb2020-01-22 15:17:14 -080063 publish = Publish.SNAPSHOT_AND_RELEASE
Ben Weiss7b60fa72019-07-30 15:51:26 +010064 mavenGroup = LibraryGroups.NAVIGATION
65 inceptionYear = "2019"
Ian Lake173028c2020-01-22 14:34:37 -080066 description = "Android Dynamic Feature Navigation Runtime"
Ben Weiss7b60fa72019-07-30 15:51:26 +010067}