blob: a5efd28ac92ea10010d6798f9eb2214037507724 [file] [log] [blame]
Daniel Santiago Rivera0c716ae2020-03-01 11:27:57 -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 Rivera0c716ae2020-03-01 11:27:57 -080017import androidx.build.Publish
18
19plugins {
20 id("AndroidXPlugin")
Daniel Santiago Rivera2de05ef2020-09-25 17:49:39 -070021 id("java-library")
Daniel Santiago Rivera0c716ae2020-03-01 11:27:57 -080022}
23
24dependencies {
Aurimas Liutikas7f247902021-05-19 08:43:01 -070025 implementation(libs.hiltCore)
26 annotationProcessor(libs.hiltCompiler)
Daniel Santiago Rivera228fcf52020-05-11 17:48:05 -070027}
28
Daniel Santiago Rivera0c716ae2020-03-01 11:27:57 -080029androidx {
Daniel Santiago Rivera67f849d2020-04-02 17:12:21 -070030 name = "AndroidX Hilt Extension Annotations"
Daniel Santiago Riveraad59b2e2020-04-21 08:26:12 -070031 publish = Publish.SNAPSHOT_AND_RELEASE
Daniel Santiago Rivera67f849d2020-04-02 17:12:21 -070032 mavenVersion = LibraryVersions.HILT
33 mavenGroup = LibraryGroups.HILT
Daniel Santiago Rivera0c716ae2020-03-01 11:27:57 -080034 inceptionYear = "2020"
Daniel Santiago Rivera67f849d2020-04-02 17:12:21 -070035 description = "AndroidX Hilt Extension Annotations"
Daniel Santiago Riveraf40ded12021-01-11 14:11:52 -080036 // TODO(danysantiago): Remove once @ViewModelInject is deleted.
37 // This suppresses the the warning in the generated code by Hilt's GeneratesRootInput processor.
38 failOnDeprecationWarnings = false
Alex Saveaub50d5002020-07-14 05:25:54 +000039}