Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +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 | |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 29 | dependencies { |
Ian Lake | 173028c | 2020-01-22 14:34:37 -0800 | [diff] [blame] | 30 | api(project(":navigation:navigation-dynamic-features-runtime")) |
Ian Lake | 87b3a36 | 2019-11-07 14:15:14 -0800 | [diff] [blame] | 31 | api(project(":navigation:navigation-fragment-ktx")) |
| 32 | api(KOTLIN_STDLIB) |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 33 | |
| 34 | testImplementation(ANDROIDX_TEST_CORE) |
| 35 | testImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 36 | testImplementation(ANDROIDX_TEST_RUNNER) |
| 37 | testImplementation(JUNIT) |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 38 | testImplementation(MOCKITO_CORE) |
| 39 | testImplementation(TRUTH) |
| 40 | |
| 41 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 42 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 43 | androidTestImplementation(ANDROIDX_TEST_RULES) |
| 44 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| 45 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) |
| 46 | androidTestImplementation(ESPRESSO_CORE) |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 47 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) |
| 48 | androidTestImplementation(TRUTH) |
| 49 | androidTestImplementation project(':internal-testutils-runtime'), { |
| 50 | exclude group: 'androidx.fragment', module: 'fragment' |
| 51 | } |
| 52 | } |
| 53 | |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 54 | androidx { |
| 55 | name = "Android Dynamic Feature Navigation Fragment" |
Ian Lake | 2b0e8eb | 2020-01-22 15:17:14 -0800 | [diff] [blame] | 56 | publish = Publish.SNAPSHOT_AND_RELEASE |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 57 | mavenGroup = LibraryGroups.NAVIGATION |
| 58 | inceptionYear = "2019" |
| 59 | description = "Android Dynamic Feature Navigation Fragment" |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 60 | } |