blob: ed6157ab57d1a9053d808110cb5928dabded69b4 [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
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080017import androidx.build.Publish
18
19plugins {
20 id("AndroidXPlugin")
21 id("com.android.library")
22 id("kotlin-android")
23 id("kotlin-kapt")
24}
25
26dependencies {
Aurimas Liutikas7f247902021-05-19 08:43:01 -070027 api(libs.kotlinStdlib)
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080028 api("androidx.annotation:annotation:1.1.0")
Kuan-Ying Choud2b59482022-10-07 23:08:21 +080029 api("androidx.navigation:navigation-runtime:2.5.1")
Aurimas Liutikas7f247902021-05-19 08:43:01 -070030 api(libs.hiltAndroid)
31 kapt(libs.hiltCompiler)
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080032}
33
34androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040035 name = "Navigation Hilt Extension"
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080036 publish = Publish.SNAPSHOT_AND_RELEASE
Kuan-Ying Choue0902f02023-07-26 16:18:30 +010037 mavenVersion = LibraryVersions.HILT_NAVIGATION
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080038 inceptionYear = "2021"
39 description = "Android Navigation Hilt Extension"
Jinseong Jeon999075e2023-08-22 00:40:11 -070040 metalavaK2UastEnabled = true
Daniel Santiago Rivera7bc85762020-12-04 15:50:36 -080041}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070042
43android {
44 namespace "androidx.hilt.navigation"
45}