[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/docs-tip-of-tree/build.gradle b/docs-tip-of-tree/build.gradle
index 2f32fe5..1aa287e 100644
--- a/docs-tip-of-tree/build.gradle
+++ b/docs-tip-of-tree/build.gradle
@@ -231,6 +231,7 @@
     docs(project(":room:room-ktx"))
     docs(project(":room:room-migration"))
     docs(project(":room:room-paging"))
+    docs(project(":room:room-paging-guava"))
     docs(project(":room:room-runtime"))
     docs(project(":room:room-rxjava2"))
     docs(project(":room:room-rxjava3"))
diff --git a/room/room-paging-guava/api/current.txt b/room/room-paging-guava/api/current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/room/room-paging-guava/api/current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/room/room-paging-guava/api/public_plus_experimental_current.txt b/room/room-paging-guava/api/public_plus_experimental_current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/room/room-paging-guava/api/public_plus_experimental_current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/room/room-paging-guava/api/res-current.txt b/room/room-paging-guava/api/res-current.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/room/room-paging-guava/api/res-current.txt
diff --git a/room/room-paging-guava/api/restricted_current.txt b/room/room-paging-guava/api/restricted_current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/room/room-paging-guava/api/restricted_current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
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"
+}
diff --git a/room/room-paging-guava/src/androidTest/AndroidManifest.xml b/room/room-paging-guava/src/androidTest/AndroidManifest.xml
new file mode 100644
index 0000000..7e697ed
--- /dev/null
+++ b/room/room-paging-guava/src/androidTest/AndroidManifest.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Copyright 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.
+  -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" />
diff --git a/room/room-paging-guava/src/main/AndroidManifest.xml b/room/room-paging-guava/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..923060a
--- /dev/null
+++ b/room/room-paging-guava/src/main/AndroidManifest.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Copyright 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.
+  -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" />
\ No newline at end of file
diff --git a/settings.gradle b/settings.gradle
index dd67423..5ba352a 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -677,6 +677,7 @@
 includeProject(":room:room-ktx", [BuildType.MAIN, BuildType.COMPOSE])
 includeProject(":room:room-migration", [BuildType.MAIN, BuildType.COMPOSE])
 includeProject(":room:room-paging", [BuildType.MAIN, BuildType.COMPOSE])
+includeProject(":room:room-paging-guava", [BuildType.MAIN])
 includeProject(":room:room-runtime", [BuildType.MAIN, BuildType.COMPOSE])
 includeProject(":room:room-runtime-lint", [BuildType.MAIN, BuildType.COMPOSE])
 includeProject(":room:room-rxjava2", [BuildType.MAIN])