blob: 7ad2aa4388387b4cfa013d42645bb0f0ad24f75b [file] [log] [blame]
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -08001/*
2 * Copyright 2020 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
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080025
26plugins {
27 id("AndroidXPlugin")
28 id("com.android.library")
29 id("kotlin-android")
Aurimas Liutikas7a138512024-04-24 22:55:21 +000030 id("com.google.devtools.ksp")
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080031}
32
33dependencies {
Aurimas Liutikas7f247902021-05-19 08:43:01 -070034 api(libs.kotlinStdlib)
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080035 api("androidx.annotation:annotation:1.1.0")
Kuan-Ying Choud2b59482022-10-07 23:08:21 +080036 api("androidx.navigation:navigation-runtime:2.5.1")
Aurimas Liutikas7f247902021-05-19 08:43:01 -070037 api(libs.hiltAndroid)
Aurimas Liutikas7a138512024-04-24 22:55:21 +000038 ksp(libs.hiltCompiler)
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080039}
40
41androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040042 name = "Navigation Hilt Extension"
Omar Ismail86e66062024-05-03 16:10:50 +010043 type = LibraryType.PUBLISHED_LIBRARY
Kuan-Ying Choue0902f02023-07-26 16:18:30 +010044 mavenVersion = LibraryVersions.HILT_NAVIGATION
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080045 inceptionYear = "2021"
46 description = "Android Navigation Hilt Extension"
Jinseong Jeon999075e2023-08-22 00:40:11 -070047 metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070048 legacyDisableKotlinStrictApiMode = true
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080049}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070050
51android {
52 namespace "androidx.hilt.navigation"
53}