blob: 62ab570b901a59f3828989c766dbe9a5733071f1 [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
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 */
Aurimas Liutikas73b142a2024-11-01 11:16:28 -070024
25import androidx.build.KotlinTarget
Omar Ismail86e66062024-05-03 16:10:50 +010026import androidx.build.LibraryType
Zac Sweers83b0d9c2020-07-03 00:22:37 -040027import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
28
Zac Sweers83b0d9c2020-07-03 00:22:37 -040029plugins {
30 id("AndroidXPlugin")
31 id("com.android.library")
32 id("kotlin-android")
33}
34
35dependencies {
36 api(project(":paging:paging-common"))
Jeremy Woods5dc7b572023-05-01 22:46:22 +000037 api("androidx.arch.core:core-runtime:2.2.0")
Aurimas Liutikas94ff4342021-05-04 13:02:26 -070038 api(libs.rxjava3)
39 implementation(libs.kotlinStdlib)
40 implementation(libs.kotlinCoroutinesRx3)
Zac Sweers83b0d9c2020-07-03 00:22:37 -040041
42 testImplementation(project(":internal-testutils-common"))
43 testImplementation(project(":internal-testutils-paging"))
Clara Fok24ac03f2021-07-12 10:47:27 -070044 testImplementation(project(":internal-testutils-ktx"))
Aurimas Liutikas94ff4342021-05-04 13:02:26 -070045 testImplementation(libs.junit)
46 testImplementation(libs.kotlinTest)
47 testImplementation(libs.kotlinCoroutinesTest)
Clara Fok24ac03f2021-07-12 10:47:27 -070048 testImplementation(libs.truth)
Phil Oliverb70c2f132021-03-31 17:39:22 -070049
Aurimas Liutikas94ff4342021-05-04 13:02:26 -070050 androidTestImplementation(libs.testExtJunit)
51 androidTestImplementation(libs.testCore)
52 androidTestImplementation(libs.testRunner)
Jeremy Woods5dc7b572023-05-01 22:46:22 +000053 androidTestImplementation("androidx.arch.core:core-testing:2.2.0")
Zac Sweers83b0d9c2020-07-03 00:22:37 -040054}
55
56androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040057 name = "Paging-RxJava3"
Omar Ismail86e66062024-05-03 16:10:50 +010058 type = LibraryType.PUBLISHED_LIBRARY
Zac Sweers83b0d9c2020-07-03 00:22:37 -040059 inceptionYear = "2020"
60 description = "Android Paging-RxJava3"
Aurimas Liutikasc53db9a2020-10-08 17:22:52 -070061 legacyDisableKotlinStrictApiMode = true
Aurimas Liutikas73b142a2024-11-01 11:16:28 -070062 kotlinTarget = KotlinTarget.KOTLIN_1_9
Zac Sweers83b0d9c2020-07-03 00:22:37 -040063}
64
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070065android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080066 namespace = "androidx.paging.rxjava3"
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070067}