Julia McClellan | b582fb4 | 2022-04-25 13:25:19 -0400 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2022 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 | |
| 17 | import androidx.build.LibraryType |
| 18 | |
| 19 | plugins { |
| 20 | id("AndroidXPlugin") |
| 21 | id("kotlin") |
| 22 | } |
| 23 | |
| 24 | dependencies { |
| 25 | compileOnly(libs.androidLintMinApi) |
| 26 | compileOnly(libs.kotlinStdlib) |
| 27 | |
| 28 | testImplementation(libs.kotlinStdlib) |
| 29 | testImplementation(libs.androidLint) |
| 30 | testImplementation(libs.androidLintTests) |
| 31 | testImplementation(libs.junit) |
| 32 | testImplementation(libs.truth) |
| 33 | } |
| 34 | |
| 35 | androidx { |
| 36 | name = "Navigation Common Lint" |
| 37 | type = LibraryType.LINT |
| 38 | mavenGroup = LibraryGroups.NAVIGATION |
| 39 | inceptionYear = "2022" |
| 40 | description = "Lint checks for Navigation Common" |
| 41 | } |