Yigit Boyar | 3c592c4 | 2017-04-04 14:53:04 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 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 | */ |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 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 | */ |
Daniel Santiago Rivera | 6e1e6e1 | 2024-12-16 22:13:20 -0500 | [diff] [blame] | 24 | |
| 25 | import androidx.build.KotlinTarget |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 26 | import androidx.build.LibraryType |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 27 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 28 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 29 | id("AndroidXPlugin") |
| 30 | id("com.android.library") |
Elif Bilgin | 8466ab5 | 2022-08-31 23:48:10 +0000 | [diff] [blame] | 31 | id("kotlin-android") |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 32 | } |
Yigit Boyar | 3c592c4 | 2017-04-04 14:53:04 -0700 | [diff] [blame] | 33 | |
Yigit Boyar | 3c592c4 | 2017-04-04 14:53:04 -0700 | [diff] [blame] | 34 | dependencies { |
Alan Viverette | 6c56334 | 2018-03-08 18:02:39 -0500 | [diff] [blame] | 35 | api(project(":room:room-common")) |
| 36 | api(project(":room:room-runtime")) |
Aurimas Liutikas | 1a0e7b1 | 2021-05-04 12:55:40 -0700 | [diff] [blame] | 37 | api(libs.rxjava2) |
Aurimas Liutikas | 827a1f2 | 2019-07-12 16:29:28 -0700 | [diff] [blame] | 38 | |
Jeremy Woods | 5dc7b57 | 2023-05-01 22:46:22 +0000 | [diff] [blame] | 39 | implementation("androidx.arch.core:core-runtime:2.2.0") |
Elif Bilgin | 8466ab5 | 2022-08-31 23:48:10 +0000 | [diff] [blame] | 40 | implementation(libs.kotlinStdlib) |
Daniel Santiago Rivera | 8fb8bd1 | 2024-07-30 16:56:43 -0400 | [diff] [blame] | 41 | implementation(libs.kotlinCoroutinesRx2) |
Elif Bilgin | 8466ab5 | 2022-08-31 23:48:10 +0000 | [diff] [blame] | 42 | |
Dustin Lam | 14495fa | 2023-07-05 17:32:26 -0700 | [diff] [blame] | 43 | testImplementation(project(":kruth:kruth")) |
Elif Bilgin | 8466ab5 | 2022-08-31 23:48:10 +0000 | [diff] [blame] | 44 | testImplementation(libs.kotlinTest) |
Aurimas Liutikas | 759f968 | 2022-10-05 07:01:37 -0700 | [diff] [blame] | 45 | testImplementation(libs.mockitoCore4) |
Elif Bilgin | 8466ab5 | 2022-08-31 23:48:10 +0000 | [diff] [blame] | 46 | testImplementation(libs.mockitoKotlin4) |
Jeremy Woods | 5dc7b57 | 2023-05-01 22:46:22 +0000 | [diff] [blame] | 47 | testImplementation("androidx.arch.core:core-testing:2.2.0") |
Ian Lake | 005a920 | 2019-09-26 16:17:25 -0700 | [diff] [blame] | 48 | testImplementation("androidx.lifecycle:lifecycle-livedata:2.0.0") // for mocking invalidation tracker |
Yigit Boyar | 3c592c4 | 2017-04-04 14:53:04 -0700 | [diff] [blame] | 49 | } |
| 50 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 51 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 52 | name = "Room RXJava2" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 53 | type = LibraryType.PUBLISHED_LIBRARY |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 54 | inceptionYear = "2017" |
| 55 | description = "Android Room RXJava2" |
Aurimas Liutikas | 5c5419a | 2024-05-29 15:26:58 -0700 | [diff] [blame] | 56 | legacyDisableKotlinStrictApiMode = true |
Daniel Santiago Rivera | 6e1e6e1 | 2024-12-16 22:13:20 -0500 | [diff] [blame] | 57 | kotlinTarget = KotlinTarget.KOTLIN_2_0 |
Alex Saveau | b50d500 | 2020-07-14 05:25:54 +0000 | [diff] [blame] | 58 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 59 | |
| 60 | android { |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 61 | namespace = "androidx.room.rxjava2" |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 62 | } |