Dustin Lam | aaafea1 | 2019-10-07 12:57:20 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 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 |
Dustin Lam | 16d5a2c | 2020-06-10 15:18:16 -0700 | [diff] [blame] | 27 | |
Dustin Lam | aaafea1 | 2019-10-07 12:57:20 -0700 | [diff] [blame] | 28 | plugins { |
| 29 | id("AndroidXPlugin") |
| 30 | id("com.android.library") |
| 31 | id("kotlin-android") |
| 32 | } |
| 33 | |
| 34 | dependencies { |
| 35 | api(project(":paging:paging-common")) |
Aurimas Liutikas | 94ff434 | 2021-05-04 13:02:26 -0700 | [diff] [blame] | 36 | api(libs.kotlinStdlib) |
| 37 | api(libs.guavaAndroid) |
| 38 | implementation(libs.kotlinCoroutinesGuava) |
Dustin Lam | aaafea1 | 2019-10-07 12:57:20 -0700 | [diff] [blame] | 39 | |
Chris Craik | ae00d0f | 2020-03-15 20:10:42 -0700 | [diff] [blame] | 40 | testImplementation(project(":internal-testutils-common")) |
Simon Schiller | a003ad0 | 2020-09-02 21:29:50 +0200 | [diff] [blame] | 41 | testImplementation(project(":internal-testutils-paging")) |
Aurimas Liutikas | 94ff434 | 2021-05-04 13:02:26 -0700 | [diff] [blame] | 42 | testImplementation(libs.junit) |
| 43 | testImplementation(libs.kotlinTest) |
| 44 | testImplementation(libs.kotlinCoroutinesTest) |
Dustin Lam | aaafea1 | 2019-10-07 12:57:20 -0700 | [diff] [blame] | 45 | } |
| 46 | |
| 47 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 48 | name = "Paging Guava" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 49 | type = LibraryType.PUBLISHED_LIBRARY |
Dustin Lam | aaafea1 | 2019-10-07 12:57:20 -0700 | [diff] [blame] | 50 | inceptionYear = "2019" |
| 51 | description = "Android Paging Guava" |
Aurimas Liutikas | c53db9a | 2020-10-08 17:22:52 -0700 | [diff] [blame] | 52 | legacyDisableKotlinStrictApiMode = true |
Aurimas Liutikas | 73b142a | 2024-11-01 11:16:28 -0700 | [diff] [blame] | 53 | kotlinTarget = KotlinTarget.KOTLIN_1_9 |
Owen Gray | 96be208 | 2023-12-04 10:46:10 -0500 | [diff] [blame] | 54 | samples(project(":paging:paging-samples")) |
Dustin Lam | aaafea1 | 2019-10-07 12:57:20 -0700 | [diff] [blame] | 55 | } |
Dustin Lam | 16d5a2c | 2020-06-10 15:18:16 -0700 | [diff] [blame] | 56 | |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 57 | android { |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 58 | namespace = "androidx.paging.guava" |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 59 | } |