blob: f8ccb33c55fe59416bcf0cc762a2597955683c64 [file] [log] [blame]
Diego Vela22940d02021-05-07 13:33: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 Vela22940d02021-05-07 13:33:01 -070026import androidx.build.LibraryType
Diego Vela22940d02021-05-07 13:33:01 -070027
28plugins {
29 id("AndroidXPlugin")
30 id("com.android.library")
31 id("org.jetbrains.kotlin.android")
32}
33
34android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080035 namespace = "androidx.window.rxjava2"
Diego Vela22940d02021-05-07 13:33:01 -070036}
37
38dependencies {
Aurimas Liutikasfbd9ec62021-05-24 16:00:39 -070039 api(libs.kotlinStdlib)
40 api(libs.kotlinCoroutinesCore)
41 api(libs.kotlinCoroutinesRx2)
42 api(libs.rxjava2)
Diego Vela22940d02021-05-07 13:33:01 -070043 api(project(":window:window"))
Aurimas Liutikas96f0b302024-07-25 15:49:23 -070044 implementation("androidx.annotation:annotation:1.8.1")
Diego Vela22940d02021-05-07 13:33:01 -070045
Aurimas Liutikasfbd9ec62021-05-24 16:00:39 -070046 androidTestImplementation(libs.testExtJunit)
47 androidTestImplementation(libs.testRunner)
48 androidTestImplementation(libs.testRules)
Aurimas Liutikas1a31ba62024-08-30 12:49:00 -070049 androidTestImplementation(libs.dexmakerMockito)
50 androidTestImplementation(libs.mockitoCore)
51 androidTestImplementation(libs.mockitoKotlin)
Aurimas Liutikasfbd9ec62021-05-24 16:00:39 -070052 androidTestImplementation(libs.kotlinCoroutinesTest)
Diego Vela22940d02021-05-07 13:33:01 -070053}
54
55androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040056 name = "WindowManager RxJava2"
Diego Vela22940d02021-05-07 13:33:01 -070057 type = LibraryType.PUBLISHED_LIBRARY
Diego Vela22940d02021-05-07 13:33:01 -070058 inceptionYear = "2021"
59 description = "WindowManager RxJava 2"
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070060 legacyDisableKotlinStrictApiMode = true
Aurimas Liutikas73b142a2024-11-01 11:16:28 -070061 kotlinTarget = KotlinTarget.KOTLIN_1_9
Diego Vela22940d02021-05-07 13:33:01 -070062}