[go: nahoru, domu]

blob: 328cd603e6c6ab774bec20f925ef10563d35a21b [file] [log] [blame]
Diego Velab211c202021-05-10 15:04:01 -07001/*
2 * Copyright (C) 2021 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 */
Diego Velab211c202021-05-10 15:04:01 -070024import androidx.build.LibraryType
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070025import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
Diego Velab211c202021-05-10 15:04:01 -070026
27plugins {
28 id("AndroidXPlugin")
29 id("com.android.library")
30 id("org.jetbrains.kotlin.android")
31}
32
33android {
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070034 namespace "androidx.window.testing"
Diego Velab211c202021-05-10 15:04:01 -070035}
36
37dependencies {
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070038 api(libs.kotlinStdlib)
Diego Velab211c202021-05-10 15:04:01 -070039 api(project(":window:window"))
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070040 api(libs.junit)
Aurimas Liutikas36de1fe2023-11-29 15:12:02 -080041 implementation("androidx.core:core:1.8.0")
42 implementation("androidx.annotation:annotation:1.7.0")
Diego Velab211c202021-05-10 15:04:01 -070043
Jeremy Woodsfa788952021-07-29 16:12:29 -070044 androidTestImplementation(libs.testCore)
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070045 androidTestImplementation(libs.testExtJunit)
46 androidTestImplementation(libs.testRunner)
47 androidTestImplementation(libs.testRules)
48 androidTestImplementation(libs.kotlinCoroutinesTest)
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070049 androidTestImplementation(libs.truth)
Charles Chenb7fe47d2023-02-20 17:04:00 +080050
51 testImplementation(libs.robolectric)
Charles Chenf96e8712023-03-07 18:15:38 +080052 testImplementation(libs.mockitoCore4)
Chris Li9d3a1922023-02-18 21:36:54 +080053 testImplementation(libs.mockitoKotlin4)
Charles Chenb7fe47d2023-02-20 17:04:00 +080054 testImplementation(libs.testCore)
55 testImplementation(libs.testExtJunit)
56 testImplementation(libs.testRunner)
57 testImplementation(libs.testRules)
58 testImplementation(libs.kotlinCoroutinesTest)
Diego Velab211c202021-05-10 15:04:01 -070059}
60
61androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040062 name = "WindowManager Testing Extensions"
Jelle Fresen4a13c562021-11-26 16:50:44 +000063 type = LibraryType.PUBLISHED_TEST_LIBRARY
Diego Velab211c202021-05-10 15:04:01 -070064 inceptionYear = "2021"
65 description = "WindowManager Test Library"
Jinseong Jeon999075e2023-08-22 00:40:11 -070066 metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070067 legacyDisableKotlinStrictApiMode = true
Jinseong Jeon999075e2023-08-22 00:40:11 -070068}