blob: d5519cb4680007fba84022964a6ca8414096bd41 [file] [log] [blame]
Yigit Boyar3c592c42017-04-04 14:53:04 -07001/*
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 Liutikasbb85fac2017-08-24 13:32:28 -070016
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 */
Daniel Santiago Rivera6e1e6e12024-12-16 22:13:20 -050024
25import androidx.build.KotlinTarget
Omar Ismail86e66062024-05-03 16:10:50 +010026import androidx.build.LibraryType
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070027
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070028plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010029 id("AndroidXPlugin")
30 id("com.android.library")
Elif Bilgin8466ab52022-08-31 23:48:10 +000031 id("kotlin-android")
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070032}
Yigit Boyar3c592c42017-04-04 14:53:04 -070033
Yigit Boyar3c592c42017-04-04 14:53:04 -070034dependencies {
Alan Viverette6c563342018-03-08 18:02:39 -050035 api(project(":room:room-common"))
36 api(project(":room:room-runtime"))
Aurimas Liutikas1a0e7b12021-05-04 12:55:40 -070037 api(libs.rxjava2)
Aurimas Liutikas827a1f22019-07-12 16:29:28 -070038
Jeremy Woods5dc7b572023-05-01 22:46:22 +000039 implementation("androidx.arch.core:core-runtime:2.2.0")
Elif Bilgin8466ab52022-08-31 23:48:10 +000040 implementation(libs.kotlinStdlib)
Daniel Santiago Rivera8fb8bd12024-07-30 16:56:43 -040041 implementation(libs.kotlinCoroutinesRx2)
Elif Bilgin8466ab52022-08-31 23:48:10 +000042
Dustin Lam14495fa2023-07-05 17:32:26 -070043 testImplementation(project(":kruth:kruth"))
Elif Bilgin8466ab52022-08-31 23:48:10 +000044 testImplementation(libs.kotlinTest)
Aurimas Liutikas759f9682022-10-05 07:01:37 -070045 testImplementation(libs.mockitoCore4)
Elif Bilgin8466ab52022-08-31 23:48:10 +000046 testImplementation(libs.mockitoKotlin4)
Jeremy Woods5dc7b572023-05-01 22:46:22 +000047 testImplementation("androidx.arch.core:core-testing:2.2.0")
Ian Lake005a9202019-09-26 16:17:25 -070048 testImplementation("androidx.lifecycle:lifecycle-livedata:2.0.0") // for mocking invalidation tracker
Yigit Boyar3c592c42017-04-04 14:53:04 -070049}
50
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070051androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040052 name = "Room RXJava2"
Omar Ismail86e66062024-05-03 16:10:50 +010053 type = LibraryType.PUBLISHED_LIBRARY
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080054 inceptionYear = "2017"
55 description = "Android Room RXJava2"
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070056 legacyDisableKotlinStrictApiMode = true
Daniel Santiago Rivera6e1e6e12024-12-16 22:13:20 -050057 kotlinTarget = KotlinTarget.KOTLIN_2_0
Alex Saveaub50d5002020-07-14 05:25:54 +000058}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070059
60android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080061 namespace = "androidx.room.rxjava2"
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070062}