Rahul Ravikumar | 95a5d63 | 2020-02-12 16:21:49 -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 | */ |
Owen Gray | 74cc259 | 2020-09-24 15:05:40 -0400 | [diff] [blame] | 24 | import androidx.build.LibraryType |
Rahul Ravikumar | 95a5d63 | 2020-02-12 16:21:49 -0800 | [diff] [blame] | 25 | |
Rahul Ravikumar | 95a5d63 | 2020-02-12 16:21:49 -0800 | [diff] [blame] | 26 | plugins { |
| 27 | id("AndroidXPlugin") |
| 28 | id("kotlin") |
| 29 | } |
| 30 | |
| 31 | dependencies { |
Tiem Song | 9424752 | 2021-07-07 20:48:01 +0000 | [diff] [blame] | 32 | compileOnly(libs.androidLintMinApi) |
Aurimas Liutikas | ca27c5a | 2021-05-24 16:32:59 -0700 | [diff] [blame] | 33 | compileOnly(libs.kotlinStdlib) |
Rahul Ravikumar | 95a5d63 | 2020-02-12 16:21:49 -0800 | [diff] [blame] | 34 | |
Aurimas Liutikas | ca27c5a | 2021-05-24 16:32:59 -0700 | [diff] [blame] | 35 | testImplementation(libs.kotlinStdlib) |
| 36 | testImplementation(libs.androidLint) |
| 37 | testImplementation(libs.androidLintTests) |
| 38 | testImplementation(libs.junit) |
Rahul Ravikumar | 95a5d63 | 2020-02-12 16:21:49 -0800 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | androidx { |
| 42 | name = "RecyclerView Lint Checks" |
Owen Gray | 74cc259 | 2020-09-24 15:05:40 -0400 | [diff] [blame] | 43 | type = LibraryType.LINT |
Rahul Ravikumar | 95a5d63 | 2020-02-12 16:21:49 -0800 | [diff] [blame] | 44 | inceptionYear = "2020" |
| 45 | description = "RecyclerView Lint Checks" |
Rahul Ravikumar | 95a5d63 | 2020-02-12 16:21:49 -0800 | [diff] [blame] | 46 | } |