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 | |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 17 | import androidx.build.Publish |
| 18 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
| 19 | |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 20 | plugins { |
| 21 | id("AndroidXPlugin") |
| 22 | id("com.android.library") |
| 23 | id("kotlin-android") |
| 24 | } |
| 25 | |
| 26 | dependencies { |
| 27 | api(project(":paging:paging-common")) |
Jeremy Woods | 5dc7b57 | 2023-05-01 22:46:22 +0000 | [diff] [blame] | 28 | api("androidx.arch.core:core-runtime:2.2.0") |
Aurimas Liutikas | 94ff434 | 2021-05-04 13:02:26 -0700 | [diff] [blame] | 29 | api(libs.rxjava3) |
| 30 | implementation(libs.kotlinStdlib) |
| 31 | implementation(libs.kotlinCoroutinesRx3) |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 32 | |
| 33 | testImplementation(project(":internal-testutils-common")) |
| 34 | testImplementation(project(":internal-testutils-paging")) |
Clara Fok | 24ac03f | 2021-07-12 10:47:27 -0700 | [diff] [blame] | 35 | testImplementation(project(":internal-testutils-ktx")) |
Aurimas Liutikas | 94ff434 | 2021-05-04 13:02:26 -0700 | [diff] [blame] | 36 | testImplementation(libs.junit) |
| 37 | testImplementation(libs.kotlinTest) |
| 38 | testImplementation(libs.kotlinCoroutinesTest) |
Clara Fok | 24ac03f | 2021-07-12 10:47:27 -0700 | [diff] [blame] | 39 | testImplementation(libs.truth) |
Phil Oliver | b70c2f13 | 2021-03-31 17:39:22 -0700 | [diff] [blame] | 40 | |
Aurimas Liutikas | 94ff434 | 2021-05-04 13:02:26 -0700 | [diff] [blame] | 41 | androidTestImplementation(libs.testExtJunit) |
| 42 | androidTestImplementation(libs.testCore) |
| 43 | androidTestImplementation(libs.testRunner) |
Jeremy Woods | 5dc7b57 | 2023-05-01 22:46:22 +0000 | [diff] [blame] | 44 | androidTestImplementation("androidx.arch.core:core-testing:2.2.0") |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 45 | } |
| 46 | |
| 47 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame^] | 48 | name = "Paging-RxJava3" |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 49 | publish = Publish.SNAPSHOT_AND_RELEASE |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 50 | inceptionYear = "2020" |
| 51 | description = "Android Paging-RxJava3" |
Aurimas Liutikas | c53db9a | 2020-10-08 17:22:52 -0700 | [diff] [blame] | 52 | legacyDisableKotlinStrictApiMode = true |
Zac Sweers | 83b0d9c | 2020-07-03 00:22:37 -0400 | [diff] [blame] | 53 | } |
| 54 | |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 55 | android { |
| 56 | namespace "androidx.paging.rxjava3" |
| 57 | } |