Tyson Henning | f1ae006 | 2018-01-31 16:31:10 -0800 | [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 | */ |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 24 | import androidx.build.LibraryType |
Tyson Henning | f1ae006 | 2018-01-31 16:31:10 -0800 | [diff] [blame] | 25 | |
| 26 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
Daniel Santiago Rivera | 4cef8c8 | 2024-07-26 15:30:12 -0400 | [diff] [blame] | 29 | id("org.jetbrains.kotlin.android") |
Tyson Henning | f1ae006 | 2018-01-31 16:31:10 -0800 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | dependencies { |
Alan Viverette | 6c56334 | 2018-03-08 18:02:39 -0500 | [diff] [blame] | 33 | api(project(":room:room-common")) |
Oussama Ben Abdelbaki | 1d227a1 | 2018-11-21 08:09:55 -0500 | [diff] [blame] | 34 | api(project(":room:room-runtime")) { |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 35 | exclude group: "com.google.guava", module: "listenablefuture" |
Oussama Ben Abdelbaki | 1d227a1 | 2018-11-21 08:09:55 -0500 | [diff] [blame] | 36 | } |
Jeremy Woods | 5dc7b57 | 2023-05-01 22:46:22 +0000 | [diff] [blame] | 37 | implementation("androidx.arch.core:core-runtime:2.2.0") |
Aurimas Liutikas | 96f0b30 | 2024-07-25 15:49:23 -0700 | [diff] [blame] | 38 | api("androidx.annotation:annotation:1.8.1") |
Ian Lake | ae48ec2 | 2019-09-26 15:57:41 -0700 | [diff] [blame] | 39 | implementation("androidx.concurrent:concurrent-futures:1.0.0") |
Daniel Santiago Rivera | 7444e3b | 2024-07-29 09:28:02 -0400 | [diff] [blame] | 40 | implementation(libs.kotlinCoroutinesGuava) { |
| 41 | exclude group: "com.google.guava", module: "guava" |
| 42 | } |
Aurimas Liutikas | 1a0e7b1 | 2021-05-04 12:55:40 -0700 | [diff] [blame] | 43 | androidTestImplementation(libs.testRunner) |
| 44 | androidTestImplementation(libs.truth) |
Tyson Henning | f1ae006 | 2018-01-31 16:31:10 -0800 | [diff] [blame] | 45 | } |
| 46 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 47 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 48 | name = "Room Guava" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 49 | type = LibraryType.PUBLISHED_LIBRARY |
Tyson Henning | f1ae006 | 2018-01-31 16:31:10 -0800 | [diff] [blame] | 50 | inceptionYear = "2018" |
| 51 | description = "Android Room Guava" |
Alex Saveau | b50d500 | 2020-07-14 05:25:54 +0000 | [diff] [blame] | 52 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 53 | |
| 54 | android { |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 55 | namespace = "androidx.room.guava" |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 56 | } |