blob: ba672d7a9e3c83be76b0c84227ea3b9635130dd9 [file] [log] [blame]
Diego Vela819e62f2021-05-07 20:08: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 */
Aurimas Liutikas73b142a2024-11-01 11:16:28 -070024
25import androidx.build.KotlinTarget
Diego Vela819e62f2021-05-07 20:08:01 -070026import androidx.build.LibraryType
Diego Vela819e62f2021-05-07 20:08:01 -070027
28plugins {
29 id("AndroidXPlugin")
30 id("com.android.library")
31 id("org.jetbrains.kotlin.android")
32}
33
34dependencies {
Aurimas Liutikasfbd9ec62021-05-24 16:00:39 -070035 api(libs.kotlinStdlib)
36 api(libs.kotlinCoroutinesCore)
Diego Vela819e62f2021-05-07 20:08:01 -070037 api(project(":window:window"))
Aurimas Liutikas36de1fe2023-11-29 15:12:02 -080038 implementation("androidx.core:core:1.8.0")
Aurimas Liutikas96f0b302024-07-25 15:49:23 -070039 implementation("androidx.annotation:annotation:1.8.1")
Diego Vela819e62f2021-05-07 20:08:01 -070040
Diego Vela39298e12022-09-15 22:59:11 +000041 testImplementation(libs.testCore)
42 testImplementation(libs.testRunner)
43 testImplementation(libs.junit)
Aurimas Liutikas759f9682022-10-05 07:01:37 -070044 testImplementation(libs.mockitoCore4)
45 testImplementation(libs.mockitoKotlin4)
Diego Vela39298e12022-09-15 22:59:11 +000046 testImplementation(libs.kotlinCoroutinesTest)
47
Aurimas Liutikasfbd9ec62021-05-24 16:00:39 -070048 androidTestImplementation(libs.testExtJunit)
49 androidTestImplementation(libs.testRunner)
50 androidTestImplementation(libs.testRules)
Aurimas Liutikas1a31ba62024-08-30 12:49:00 -070051 androidTestImplementation(libs.dexmakerMockito)
52 androidTestImplementation(libs.mockitoCore)
53 androidTestImplementation(libs.mockitoKotlin)
Diego Vela819e62f2021-05-07 20:08:01 -070054}
55
56androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040057 name = "WindowManager Java"
Diego Vela819e62f2021-05-07 20:08:01 -070058 type = LibraryType.PUBLISHED_LIBRARY
Diego Vela819e62f2021-05-07 20:08:01 -070059 inceptionYear = "2021"
60 description = "WindowManager Java Support"
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070061 legacyDisableKotlinStrictApiMode = true
Aurimas Liutikas73b142a2024-11-01 11:16:28 -070062 kotlinTarget = KotlinTarget.KOTLIN_1_9
Diego Vela819e62f2021-05-07 20:08:01 -070063}
64
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070065android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080066 namespace = "androidx.window.java"
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070067}