blob: fecd94ca9bcf8831ce32d488a2ca6b9c9bbbbceb [file] [log] [blame]
Dustin Lamaaafea12019-10-07 12:57:20 -07001/*
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 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
Dustin Lam16d5a2c2020-06-10 15:18:16 -070027
Dustin Lamaaafea12019-10-07 12:57:20 -070028plugins {
29 id("AndroidXPlugin")
30 id("com.android.library")
31 id("kotlin-android")
32}
33
34dependencies {
35 api(project(":paging:paging-common"))
Aurimas Liutikas94ff4342021-05-04 13:02:26 -070036 api(libs.kotlinStdlib)
37 api(libs.guavaAndroid)
38 implementation(libs.kotlinCoroutinesGuava)
Dustin Lamaaafea12019-10-07 12:57:20 -070039
Chris Craikae00d0f2020-03-15 20:10:42 -070040 testImplementation(project(":internal-testutils-common"))
Simon Schillera003ad02020-09-02 21:29:50 +020041 testImplementation(project(":internal-testutils-paging"))
Aurimas Liutikas94ff4342021-05-04 13:02:26 -070042 testImplementation(libs.junit)
43 testImplementation(libs.kotlinTest)
44 testImplementation(libs.kotlinCoroutinesTest)
Dustin Lamaaafea12019-10-07 12:57:20 -070045}
46
47androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040048 name = "Paging Guava"
Omar Ismail86e66062024-05-03 16:10:50 +010049 type = LibraryType.PUBLISHED_LIBRARY
Dustin Lamaaafea12019-10-07 12:57:20 -070050 inceptionYear = "2019"
51 description = "Android Paging Guava"
Aurimas Liutikasc53db9a2020-10-08 17:22:52 -070052 legacyDisableKotlinStrictApiMode = true
Aurimas Liutikas73b142a2024-11-01 11:16:28 -070053 kotlinTarget = KotlinTarget.KOTLIN_1_9
Owen Gray96be2082023-12-04 10:46:10 -050054 samples(project(":paging:paging-samples"))
Dustin Lamaaafea12019-10-07 12:57:20 -070055}
Dustin Lam16d5a2c2020-06-10 15:18:16 -070056
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070057android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080058 namespace = "androidx.paging.guava"
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070059}