Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 1 | /* |
| 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 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 | */ |
Aurimas Liutikas | 73b142a | 2024-11-01 11:16:28 -0700 | [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 |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 27 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
| 28 | |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 29 | plugins { |
| 30 | id("AndroidXPlugin") |
| 31 | id("com.android.library") |
| 32 | id("kotlin-android") |
| 33 | } |
| 34 | |
| 35 | dependencies { |
| 36 | api(project(":paging:paging-common")) |
Jeremy Woods | 5dc7b57 | 2023-05-01 22:46:22 +0000 | [diff] [blame] | 37 | api("androidx.arch.core:core-runtime:2.2.0") |
Aurimas Liutikas | 94ff434 | 2021-05-04 13:02:26 -0700 | [diff] [blame] | 38 | api(libs.rxjava3) |
| 39 | implementation(libs.kotlinStdlib) |
| 40 | implementation(libs.kotlinCoroutinesRx3) |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 41 | |
| 42 | testImplementation(project(":internal-testutils-common")) |
| 43 | testImplementation(project(":internal-testutils-paging")) |
Clara Fok | 24ac03f | 2021-07-12 10:47:27 -0700 | [diff] [blame] | 44 | testImplementation(project(":internal-testutils-ktx")) |
Aurimas Liutikas | 94ff434 | 2021-05-04 13:02:26 -0700 | [diff] [blame] | 45 | testImplementation(libs.junit) |
| 46 | testImplementation(libs.kotlinTest) |
| 47 | testImplementation(libs.kotlinCoroutinesTest) |
Clara Fok | 24ac03f | 2021-07-12 10:47:27 -0700 | [diff] [blame] | 48 | testImplementation(libs.truth) |
Phil Oliver | b70c2f13 | 2021-03-31 17:39:22 -0700 | [diff] [blame] | 49 | |
Aurimas Liutikas | 94ff434 | 2021-05-04 13:02:26 -0700 | [diff] [blame] | 50 | androidTestImplementation(libs.testExtJunit) |
| 51 | androidTestImplementation(libs.testCore) |
| 52 | androidTestImplementation(libs.testRunner) |
Jeremy Woods | 5dc7b57 | 2023-05-01 22:46:22 +0000 | [diff] [blame] | 53 | androidTestImplementation("androidx.arch.core:core-testing:2.2.0") |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 54 | } |
| 55 | |
| 56 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 57 | name = "Paging-RxJava3" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 58 | type = LibraryType.PUBLISHED_LIBRARY |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 59 | inceptionYear = "2020" |
| 60 | description = "Android Paging-RxJava3" |
Aurimas Liutikas | c53db9a | 2020-10-08 17:22:52 -0700 | [diff] [blame] | 61 | legacyDisableKotlinStrictApiMode = true |
Aurimas Liutikas | 73b142a | 2024-11-01 11:16:28 -0700 | [diff] [blame] | 62 | kotlinTarget = KotlinTarget.KOTLIN_1_9 |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 63 | } |
| 64 | |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 65 | android { |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 66 | namespace = "androidx.paging.rxjava3" |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 67 | } |