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 | |
| 17 | import static androidx.build.dependencies.DependenciesKt.* |
| 18 | import androidx.build.LibraryGroups |
| 19 | import androidx.build.LibraryVersions |
| 20 | import androidx.build.AndroidXExtension |
| 21 | import androidx.build.Publish |
| 22 | |
| 23 | plugins { |
| 24 | id("AndroidXPlugin") |
| 25 | id("com.android.library") |
| 26 | id("kotlin-android") |
| 27 | } |
| 28 | |
Ian Lake | d08b0da | 2021-04-29 15:24:15 -0700 | [diff] [blame] | 29 | android { |
| 30 | defaultConfig { |
| 31 | multiDexEnabled true |
| 32 | } |
| 33 | } |
| 34 | |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 35 | dependencies { |
Jeremy Woods | 14523ed | 2021-04-07 09:22:44 -0700 | [diff] [blame] | 36 | api(project(":navigation:navigation-runtime")) |
Ian Lake | cfa3d89 | 2020-04-08 11:13:16 -0700 | [diff] [blame] | 37 | api(PLAY_CORE) |
Ian Lake | 322cd82 | 2019-11-07 15:47:11 -0800 | [diff] [blame] | 38 | api(KOTLIN_STDLIB) |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 39 | |
Ian Lake | d4f6ac6 | 2021-05-06 16:51:03 -0700 | [diff] [blame] | 40 | testImplementation(project(":navigation:navigation-testing")) |
| 41 | testImplementation("androidx.arch.core:core-testing:2.1.0") |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 42 | testImplementation(ANDROIDX_TEST_CORE) |
| 43 | testImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 44 | testImplementation(ANDROIDX_TEST_RUNNER) |
| 45 | testImplementation(JUNIT) |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 46 | testImplementation(MOCKITO_CORE) |
Wojtek KaliciĆski | 3ba2d72 | 2019-09-13 12:54:47 +0100 | [diff] [blame] | 47 | testImplementation(ROBOLECTRIC) |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 48 | testImplementation(TRUTH) |
| 49 | |
| 50 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 51 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
Ian Lake | ef64e2c | 2020-01-22 14:21:57 -0800 | [diff] [blame] | 52 | androidTestImplementation(ANDROIDX_TEST_RULES) |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 53 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
Aurimas Liutikas | 9bf4f7e | 2021-04-23 14:17:30 -0700 | [diff] [blame] | 54 | androidTestImplementation(DEXMAKER_MOCKITO, excludes.bytebuddy) |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 55 | androidTestImplementation(ESPRESSO_CORE) |
Aurimas Liutikas | 9bf4f7e | 2021-04-23 14:17:30 -0700 | [diff] [blame] | 56 | androidTestImplementation(MOCKITO_CORE, excludes.bytebuddy) |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 57 | androidTestImplementation(TRUTH) |
Ian Lake | d08b0da | 2021-04-29 15:24:15 -0700 | [diff] [blame] | 58 | androidTestImplementation(MULTIDEX) |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 59 | } |
| 60 | |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 61 | androidx { |
Ian Lake | 173028c | 2020-01-22 14:34:37 -0800 | [diff] [blame] | 62 | name = "Android Dynamic Feature Navigation Runtime" |
Ian Lake | 2b0e8eb | 2020-01-22 15:17:14 -0800 | [diff] [blame] | 63 | publish = Publish.SNAPSHOT_AND_RELEASE |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 64 | mavenGroup = LibraryGroups.NAVIGATION |
| 65 | inceptionYear = "2019" |
Ian Lake | 173028c | 2020-01-22 14:34:37 -0800 | [diff] [blame] | 66 | description = "Android Dynamic Feature Navigation Runtime" |
Ben Weiss | 7b60fa7 | 2019-07-30 15:51:26 +0100 | [diff] [blame] | 67 | } |