[go: nahoru, domu]

blob: 7bf3df6c11f01fc97e0cf2d1566fa841b6189838 [file] [log] [blame]
Ian Lakedc78ca12018-02-15 09:50:29 -08001/*
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
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 */
Omar Ismail86e66062024-05-03 16:10:50 +010024import androidx.build.LibraryType
Ian Lakedc78ca12018-02-15 09:50:29 -080025
26plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010027 id("AndroidXPlugin")
28 id("com.android.library")
Ian Lake98c39792018-08-29 14:42:02 -070029 id("kotlin-android")
Clara Fokd75f4812024-03-26 14:19:42 -070030 alias(libs.plugins.kotlinSerialization)
Ian Lakedc78ca12018-02-15 09:50:29 -080031}
32
33dependencies {
Prajakta Patila52a01e2023-10-25 16:49:12 +000034 api("androidx.fragment:fragment-ktx:1.6.2")
Jeremy Woods14523ed2021-04-07 09:22:44 -070035 api(project(":navigation:navigation-runtime"))
Jeremy Woods78c3a002022-01-18 14:13:23 -080036 api("androidx.slidingpanelayout:slidingpanelayout:1.2.0")
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070037 api(libs.kotlinStdlib)
Clara Fokd75f4812024-03-26 14:19:42 -070038 implementation(libs.kotlinSerializationCore)
Ian Lake4485a512021-05-06 21:55:58 -070039 androidTestImplementation(project(":navigation:navigation-testing"))
Prajakta Patila52a01e2023-10-25 16:49:12 +000040 androidTestImplementation("androidx.fragment:fragment-testing:1.6.2")
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070041 androidTestImplementation(libs.testExtJunit)
42 androidTestImplementation(libs.testCore)
43 androidTestImplementation(libs.testRunner)
44 androidTestImplementation(libs.testRules)
45 androidTestImplementation(libs.truth)
Jim Sproch9e38b4f2021-01-06 14:21:06 -080046 androidTestImplementation(project(":internal-testutils-runtime"), {
47 exclude group: "androidx.fragment", module: "fragment"
48 })
49 androidTestImplementation(project(":internal-testutils-navigation"), {
Jeremy Woods2a78a492021-04-12 10:57:31 -070050 exclude group: "androidx.navigation", module: "navigation-common"
Jeremy Woods24227ee2020-11-02 15:36:48 -080051 })
Ian Lakedc78ca12018-02-15 09:50:29 -080052}
53
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070054androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040055 name = "Navigation Fragment"
Omar Ismail86e66062024-05-03 16:10:50 +010056 type = LibraryType.PUBLISHED_LIBRARY
Ian Lakedc78ca12018-02-15 09:50:29 -080057 inceptionYear = "2017"
58 description = "Android Navigation-Fragment"
Jinseong Jeon999075e2023-08-22 00:40:11 -070059 metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070060 legacyDisableKotlinStrictApiMode = true
Ian Lakedc78ca12018-02-15 09:50:29 -080061}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070062
63android {
64 namespace "androidx.navigation.fragment"
65}