Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 1 | /* |
| 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 Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 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 Liutikas | 73b142a | 2024-11-01 11:16:28 -0700 | [diff] [blame] | 24 | |
| 25 | import androidx.build.KotlinTarget |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 26 | import androidx.build.LibraryType |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 27 | |
| 28 | plugins { |
| 29 | id("AndroidXPlugin") |
| 30 | id("com.android.library") |
| 31 | id("org.jetbrains.kotlin.android") |
| 32 | } |
| 33 | |
| 34 | android { |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 35 | namespace = "androidx.window.rxjava2" |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | dependencies { |
Aurimas Liutikas | fbd9ec6 | 2021-05-24 16:00:39 -0700 | [diff] [blame] | 39 | api(libs.kotlinStdlib) |
| 40 | api(libs.kotlinCoroutinesCore) |
| 41 | api(libs.kotlinCoroutinesRx2) |
| 42 | api(libs.rxjava2) |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 43 | api(project(":window:window")) |
Aurimas Liutikas | 96f0b30 | 2024-07-25 15:49:23 -0700 | [diff] [blame] | 44 | implementation("androidx.annotation:annotation:1.8.1") |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 45 | |
Aurimas Liutikas | fbd9ec6 | 2021-05-24 16:00:39 -0700 | [diff] [blame] | 46 | androidTestImplementation(libs.testExtJunit) |
| 47 | androidTestImplementation(libs.testRunner) |
| 48 | androidTestImplementation(libs.testRules) |
Aurimas Liutikas | 1a31ba6 | 2024-08-30 12:49:00 -0700 | [diff] [blame] | 49 | androidTestImplementation(libs.dexmakerMockito) |
| 50 | androidTestImplementation(libs.mockitoCore) |
| 51 | androidTestImplementation(libs.mockitoKotlin) |
Aurimas Liutikas | fbd9ec6 | 2021-05-24 16:00:39 -0700 | [diff] [blame] | 52 | androidTestImplementation(libs.kotlinCoroutinesTest) |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 56 | name = "WindowManager RxJava2" |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 57 | type = LibraryType.PUBLISHED_LIBRARY |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 58 | inceptionYear = "2021" |
| 59 | description = "WindowManager RxJava 2" |
Aurimas Liutikas | 5c5419a | 2024-05-29 15:26:58 -0700 | [diff] [blame] | 60 | legacyDisableKotlinStrictApiMode = true |
Aurimas Liutikas | 73b142a | 2024-11-01 11:16:28 -0700 | [diff] [blame] | 61 | kotlinTarget = KotlinTarget.KOTLIN_1_9 |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 62 | } |