blob: 05d795c5429adbf8b0ad39073da4fd4413478448 [file] [log] [blame]
Zac Sweers83b0d9c2020-07-03 00:22:37 -04001/*
2 * Copyright (C) 2020 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
Zac Sweers83b0d9c2020-07-03 00:22:37 -040017import androidx.build.Publish
18import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
19
Zac Sweers83b0d9c2020-07-03 00:22:37 -040020plugins {
21 id("AndroidXPlugin")
22 id("com.android.library")
23 id("kotlin-android")
24}
25
26dependencies {
27 api(project(":paging:paging-common"))
Jeremy Woods5dc7b572023-05-01 22:46:22 +000028 api("androidx.arch.core:core-runtime:2.2.0")
Aurimas Liutikas94ff4342021-05-04 13:02:26 -070029 api(libs.rxjava3)
30 implementation(libs.kotlinStdlib)
31 implementation(libs.kotlinCoroutinesRx3)
Zac Sweers83b0d9c2020-07-03 00:22:37 -040032
33 testImplementation(project(":internal-testutils-common"))
34 testImplementation(project(":internal-testutils-paging"))
Clara Fok24ac03f2021-07-12 10:47:27 -070035 testImplementation(project(":internal-testutils-ktx"))
Aurimas Liutikas94ff4342021-05-04 13:02:26 -070036 testImplementation(libs.junit)
37 testImplementation(libs.kotlinTest)
38 testImplementation(libs.kotlinCoroutinesTest)
Clara Fok24ac03f2021-07-12 10:47:27 -070039 testImplementation(libs.truth)
Phil Oliverb70c2f132021-03-31 17:39:22 -070040
Aurimas Liutikas94ff4342021-05-04 13:02:26 -070041 androidTestImplementation(libs.testExtJunit)
42 androidTestImplementation(libs.testCore)
43 androidTestImplementation(libs.testRunner)
Jeremy Woods5dc7b572023-05-01 22:46:22 +000044 androidTestImplementation("androidx.arch.core:core-testing:2.2.0")
Zac Sweers83b0d9c2020-07-03 00:22:37 -040045}
46
47androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040048 name = "Paging-RxJava3"
Zac Sweers83b0d9c2020-07-03 00:22:37 -040049 publish = Publish.SNAPSHOT_AND_RELEASE
Zac Sweers83b0d9c2020-07-03 00:22:37 -040050 inceptionYear = "2020"
51 description = "Android Paging-RxJava3"
Aurimas Liutikasc53db9a2020-10-08 17:22:52 -070052 legacyDisableKotlinStrictApiMode = true
Zac Sweers83b0d9c2020-07-03 00:22:37 -040053}
54
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070055android {
56 namespace "androidx.paging.rxjava3"
57}