blob: 19b682c41f393ddbd431d2e4968eb99b0a2f9511 [file] [log] [blame]
Jeremy Woods88b606a2020-06-11 11:27:35 -07001/*
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 Gray74cc2592020-09-24 15:05:40 -040024import androidx.build.LibraryType
25
Jeremy Woods88b606a2020-06-11 11:27:35 -070026plugins {
27 id("AndroidXPlugin")
28 id("kotlin")
29}
30
31dependencies {
Aurimas Liutikascf3d1602024-06-11 11:09:05 -070032 compileOnly("com.android.tools.build:builder-model:8.1.0")
Tiem Song94247522021-07-07 20:48:01 +000033 compileOnly(libs.androidLintMinApi)
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070034 compileOnly(libs.kotlinStdlib)
Jeremy Woods522b2952024-07-16 16:52:54 +000035 compileOnly(libs.intellijCore)
36 compileOnly(libs.uast)
Jeremy Woods88b606a2020-06-11 11:27:35 -070037
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070038 testImplementation(libs.kotlinStdlib)
Jeremy Woods522b2952024-07-16 16:52:54 +000039 testRuntimeOnly(libs.kotlinReflect)
Jeremy Woods9a54ac52021-10-07 14:59:11 -070040 testImplementation(libs.kotlinStdlibJdk8)
Julia McClellane75b3e82024-11-14 15:07:49 -050041 testImplementation(libs.androidLintApiPrevAnalysis)
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070042 testImplementation(libs.androidLintTests)
43 testImplementation(libs.junit)
44 testImplementation(libs.truth)
Jeremy Woods88b606a2020-06-11 11:27:35 -070045}
46
47androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040048 name = "Activity Lint Checks"
Owen Gray74cc2592020-09-24 15:05:40 -040049 type = LibraryType.LINT
Jeremy Woods88b606a2020-06-11 11:27:35 -070050 inceptionYear = "2020"
51 description = "Android Activity Lint Checks"
Jeremy Woods88b606a2020-06-11 11:27:35 -070052}