blob: f3d1277ed1b4384671c9e8a8917b089f0f82f549 [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
Diego Vela22940d02021-05-07 13:33:01 -070017import androidx.build.LibraryType
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070018import androidx.build.Publish
19import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
Diego Vela22940d02021-05-07 13:33:01 -070020
21plugins {
22 id("AndroidXPlugin")
23 id("com.android.library")
24 id("org.jetbrains.kotlin.android")
25}
26
27android {
28 defaultConfig {
29 multiDexEnabled = true
30 }
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070031 namespace "androidx.window.rxjava2"
Diego Vela22940d02021-05-07 13:33:01 -070032}
33
34dependencies {
Aurimas Liutikasfbd9ec62021-05-24 16:00:39 -070035 api(libs.kotlinStdlib)
36 api(libs.kotlinCoroutinesCore)
37 api(libs.kotlinCoroutinesRx2)
38 api(libs.rxjava2)
Diego Vela22940d02021-05-07 13:33:01 -070039 api(project(":window:window"))
Diego Vela409344c2023-02-16 21:56:32 +000040 implementation("androidx.annotation:annotation:1.5.0")
Diego Vela22940d02021-05-07 13:33:01 -070041
Aurimas Liutikasfbd9ec62021-05-24 16:00:39 -070042 androidTestImplementation(libs.testExtJunit)
43 androidTestImplementation(libs.testRunner)
44 androidTestImplementation(libs.testRules)
45 androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy)
46 androidTestImplementation(libs.mockitoCore, excludes.bytebuddy)
47 androidTestImplementation(libs.mockitoKotlin, excludes.bytebuddy)
48 androidTestImplementation(libs.kotlinCoroutinesTest)
49 androidTestImplementation(libs.multidex)
Diego Vela22940d02021-05-07 13:33:01 -070050}
51
52androidx {
Alan Viverettea46238ed2023-05-08 17:36:59 -040053 name = "WindowManager RxJava2"
Diego Vela22940d02021-05-07 13:33:01 -070054 publish = Publish.SNAPSHOT_AND_RELEASE
55 type = LibraryType.PUBLISHED_LIBRARY
Diego Vela22940d02021-05-07 13:33:01 -070056 inceptionYear = "2021"
57 description = "WindowManager RxJava 2"
58}