[GH] Add room-paging-guava module to Room
Create module for integrating Guava into Room Paging
Test: n/a
Bug: 203666906
This is an imported pull request from https://github.com/androidx/androidx/pull/337.
Resolves #337
Relnote: "Added a new artifact, room-paging-guava, for ListenableFuturePagingSource in
room-paging."
Github-Pr-Head-Sha: f62df108d6d5dd765c43b1e75472ddd0a097f9de
GitOrigin-RevId: 8c86aaa8e3a856614cbdccabe07c0d658efb0407
Change-Id: Ie14a1beef5d3b7ba07f3acc3fdd1f7bfc6fd1b9e
diff --git a/room/room-paging-guava/build.gradle b/room/room-paging-guava/build.gradle
new file mode 100644
index 0000000..5db83cb
--- /dev/null
+++ b/room/room-paging-guava/build.gradle
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import androidx.build.LibraryType
+import androidx.build.Publish
+
+plugins {
+ id("AndroidXPlugin")
+ id("com.android.library")
+ id("org.jetbrains.kotlin.android")
+}
+
+dependencies {
+ api(libs.kotlinStdlib)
+ // Add dependencies here
+}
+
+androidx {
+ name = "Room Paging Guava"
+ type = LibraryType.PUBLISHED_LIBRARY
+ mavenGroup = LibraryGroups.ROOM
+ inceptionYear = "2022"
+ description = "Guava integration in Room Paging"
+ publish = Publish.SNAPSHOT_ONLY
+}
+
+android {
+ namespace "androidx.room.paging.guava"
+}