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 | |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 17 | import androidx.build.LibraryType |
Aurimas Liutikas | b3483fd | 2021-06-04 16:56:37 -0700 | [diff] [blame] | 18 | import androidx.build.Publish |
| 19 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 20 | |
| 21 | plugins { |
| 22 | id("AndroidXPlugin") |
| 23 | id("com.android.library") |
| 24 | id("org.jetbrains.kotlin.android") |
| 25 | } |
| 26 | |
| 27 | android { |
| 28 | defaultConfig { |
| 29 | multiDexEnabled = true |
| 30 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 31 | namespace "androidx.window.rxjava2" |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 32 | } |
| 33 | |
| 34 | dependencies { |
Aurimas Liutikas | fbd9ec6 | 2021-05-24 16:00:39 -0700 | [diff] [blame] | 35 | api(libs.kotlinStdlib) |
| 36 | api(libs.kotlinCoroutinesCore) |
| 37 | api(libs.kotlinCoroutinesRx2) |
| 38 | api(libs.rxjava2) |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 39 | api(project(":window:window")) |
Diego Vela | 409344c | 2023-02-16 21:56:32 +0000 | [diff] [blame] | 40 | implementation("androidx.annotation:annotation:1.5.0") |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 41 | |
Aurimas Liutikas | fbd9ec6 | 2021-05-24 16:00:39 -0700 | [diff] [blame] | 42 | 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 Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 50 | } |
| 51 | |
| 52 | androidx { |
Alan Viverette | a46238ed | 2023-05-08 17:36:59 -0400 | [diff] [blame^] | 53 | name = "WindowManager RxJava2" |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 54 | publish = Publish.SNAPSHOT_AND_RELEASE |
| 55 | type = LibraryType.PUBLISHED_LIBRARY |
Diego Vela | 22940d0 | 2021-05-07 13:33:01 -0700 | [diff] [blame] | 56 | inceptionYear = "2021" |
| 57 | description = "WindowManager RxJava 2" |
| 58 | } |