| Daniel Santiago Rivera | 7bc8576 | 2020-12-04 15:50:36 -0800 | [diff] [blame] | 1 | /* |
| 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 Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 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 Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 24 | import androidx.build.LibraryType |
| Daniel Santiago Rivera | 7bc8576 | 2020-12-04 15:50:36 -0800 | [diff] [blame] | 25 | |
| 26 | plugins { |
| 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
| 29 | id("kotlin-android") |
| Aurimas Liutikas | 7a13851 | 2024-04-24 22:55:21 +0000 | [diff] [blame] | 30 | id("com.google.devtools.ksp") |
| Daniel Santiago Rivera | 7bc8576 | 2020-12-04 15:50:36 -0800 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | dependencies { |
| Aurimas Liutikas | 7f24790 | 2021-05-19 08:43:01 -0700 | [diff] [blame] | 34 | api(libs.kotlinStdlib) |
| Daniel Santiago Rivera | 7bc8576 | 2020-12-04 15:50:36 -0800 | [diff] [blame] | 35 | api("androidx.annotation:annotation:1.1.0") |
| Kuan-Ying Chou | d2b5948 | 2022-10-07 23:08:21 +0800 | [diff] [blame] | 36 | api("androidx.navigation:navigation-runtime:2.5.1") |
| Aurimas Liutikas | 7f24790 | 2021-05-19 08:43:01 -0700 | [diff] [blame] | 37 | api(libs.hiltAndroid) |
| Aurimas Liutikas | 7a13851 | 2024-04-24 22:55:21 +0000 | [diff] [blame] | 38 | ksp(libs.hiltCompiler) |
| Daniel Santiago Rivera | 7bc8576 | 2020-12-04 15:50:36 -0800 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | androidx { |
| Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 42 | name = "Navigation Hilt Extension" |
| Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 43 | type = LibraryType.PUBLISHED_LIBRARY |
| Kuan-Ying Chou | e0902f0 | 2023-07-26 16:18:30 +0100 | [diff] [blame] | 44 | mavenVersion = LibraryVersions.HILT_NAVIGATION |
| Daniel Santiago Rivera | 7bc8576 | 2020-12-04 15:50:36 -0800 | [diff] [blame] | 45 | inceptionYear = "2021" |
| 46 | description = "Android Navigation Hilt Extension" |
| Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame] | 47 | metalavaK2UastEnabled = true |
| Daniel Santiago Rivera | 7bc8576 | 2020-12-04 15:50:36 -0800 | [diff] [blame] | 48 | } |
| Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 49 | |
| 50 | android { |
| 51 | namespace "androidx.hilt.navigation" |
| 52 | } |