[go: nahoru, domu]

blob: 57b7f23fb781d9831b6166334327e08fe43ac851 [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
Owen Graya7530b82020-09-22 15:07:02 -040017import androidx.build.LibraryType
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050018
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050019plugins {
20 id("AndroidXPlugin")
21 id("kotlin")
22}
23
Alan Viverette54269b02022-07-01 10:56:43 -040024sourceSets {
25 test.resources.srcDirs(
26 project(":appcompat:appcompat-lint:integration-tests").projectDir.toString() + "/src/main",
27 project(":appcompat:appcompat-lint:integration-tests").projectDir.toString() + "/src/res"
28 )
29}
30
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050031dependencies {
Aurimas Liutikasb6af5fb2021-05-24 16:24:38 -070032 compileOnly(libs.androidLintApi)
33 compileOnly(libs.kotlinStdlib)
Kirill Grouchnikovb8c9b392020-01-21 17:52:49 -050034
Aurimas Liutikasb6af5fb2021-05-24 16:24:38 -070035 testImplementation(libs.kotlinStdlib)
36 testImplementation(libs.androidLint)
37 testImplementation(libs.androidLintTests)
38 testImplementation(libs.junit)
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050039}
40
41androidx {
Kirill Grouchnikov8e405b92020-01-14 10:31:02 -050042 name = "AppCompat Lint Checks"
Owen Graya7530b82020-09-22 15:07:02 -040043 type = LibraryType.LINT
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050044 inceptionYear = "2019"
Kirill Grouchnikov578e5ba2019-12-17 11:47:24 -050045 description = "AppCompat Lint Checks"
Owen Graya7530b82020-09-22 15:07:02 -040046}