blob: ee901fed1fad33e730a9162304202589b1ee5fb7 [file] [log] [blame]
Ben Weiss7c1e1042019-09-13 13:05:23 +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
Ben Weiss7c1e1042019-09-13 13:05:23 +010029dependencies {
Ian Lake173028c2020-01-22 14:34:37 -080030 api(project(":navigation:navigation-dynamic-features-runtime"))
Ian Lake87b3a362019-11-07 14:15:14 -080031 api(project(":navigation:navigation-fragment-ktx"))
32 api(KOTLIN_STDLIB)
Ben Weiss7c1e1042019-09-13 13:05:23 +010033
34 testImplementation(ANDROIDX_TEST_CORE)
35 testImplementation(ANDROIDX_TEST_EXT_JUNIT)
36 testImplementation(ANDROIDX_TEST_RUNNER)
37 testImplementation(JUNIT)
Ben Weiss7c1e1042019-09-13 13:05:23 +010038 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 Weiss7c1e1042019-09-13 13:05:23 +010047 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 Weiss7c1e1042019-09-13 13:05:23 +010054androidx {
55 name = "Android Dynamic Feature Navigation Fragment"
Ian Lake2b0e8eb2020-01-22 15:17:14 -080056 publish = Publish.SNAPSHOT_AND_RELEASE
Ben Weiss7c1e1042019-09-13 13:05:23 +010057 mavenGroup = LibraryGroups.NAVIGATION
58 inceptionYear = "2019"
59 description = "Android Dynamic Feature Navigation Fragment"
Ben Weiss7c1e1042019-09-13 13:05:23 +010060}