blob: 642f89a6cbe2cb21e7d030ac3ca1c5e4021b272f [file] [log] [blame]
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -05001/*
2 * Copyright 2019 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 Songee0da742024-01-03 14:08:46 -080017/**
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 Graya7530b82020-09-22 15:07:02 -040024import androidx.build.LibraryType
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050025
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050026plugins {
27 id("AndroidXPlugin")
28 id("kotlin")
29}
30
Alan Viverette54269b02022-07-01 10:56:43 -040031sourceSets {
32 test.resources.srcDirs(
33 project(":appcompat:appcompat-lint:integration-tests").projectDir.toString() + "/src/main",
34 project(":appcompat:appcompat-lint:integration-tests").projectDir.toString() + "/src/res"
35 )
36}
37
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050038dependencies {
Aurimas Liutikasb6af5fb2021-05-24 16:24:38 -070039 compileOnly(libs.androidLintApi)
40 compileOnly(libs.kotlinStdlib)
Kirill Grouchnikovb8c9b392020-01-21 17:52:49 -050041
Aurimas Liutikasb6af5fb2021-05-24 16:24:38 -070042 testImplementation(libs.kotlinStdlib)
43 testImplementation(libs.androidLint)
44 testImplementation(libs.androidLintTests)
45 testImplementation(libs.junit)
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050046}
47
48androidx {
Kirill Grouchnikov8e405b92020-01-14 10:31:02 -050049 name = "AppCompat Lint Checks"
Owen Graya7530b82020-09-22 15:07:02 -040050 type = LibraryType.LINT
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050051 inceptionYear = "2019"
Kirill Grouchnikov578e5ba2019-12-17 11:47:24 -050052 description = "AppCompat Lint Checks"
Owen Graya7530b82020-09-22 15:07:02 -040053}