Add Fragment Compose module in Androidx

Adding Fragment Compose module using the create_project.py script.

RelNote: n/a
Test: ./gradlew updateApi
Bug: 258046948
Change-Id: Ia35d149c8ab0d78331206accf53e25a717f97291
diff --git a/docs-tip-of-tree/build.gradle b/docs-tip-of-tree/build.gradle
index 2aa2e0b..50f39df 100644
--- a/docs-tip-of-tree/build.gradle
+++ b/docs-tip-of-tree/build.gradle
@@ -192,6 +192,7 @@
     docs(project(":enterprise:enterprise-feedback-testing"))
     docs(project(":exifinterface:exifinterface"))
     docs(project(":fragment:fragment"))
+    docs(project(":fragment:fragment-compose"))
     docs(project(":fragment:fragment-ktx"))
     docs(project(":fragment:fragment-testing"))
     docs(project(":glance:glance"))
diff --git a/fragment/fragment-compose/api/current.txt b/fragment/fragment-compose/api/current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/fragment/fragment-compose/api/current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/fragment/fragment-compose/api/res-current.txt b/fragment/fragment-compose/api/res-current.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/fragment/fragment-compose/api/res-current.txt
diff --git a/fragment/fragment-compose/api/restricted_current.txt b/fragment/fragment-compose/api/restricted_current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/fragment/fragment-compose/api/restricted_current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/fragment/fragment-compose/build.gradle b/fragment/fragment-compose/build.gradle
new file mode 100644
index 0000000..cb5cf0d
--- /dev/null
+++ b/fragment/fragment-compose/build.gradle
@@ -0,0 +1,68 @@
+/*
+ * Copyright (C) 2024 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.
+ */
+
+/**
+ * This file was created using the `create_project.py` script located in the
+ * `<AndroidX root>/development/project-creator` directory.
+ *
+ * Please use that script when creating a new project, rather than copying an existing project and
+ * modifying its settings.
+ */
+import androidx.build.LibraryType
+import androidx.build.PlatformIdentifier
+import androidx.build.Publish
+
+plugins {
+    id("AndroidXPlugin")
+    id("AndroidXComposePlugin")
+    id("com.android.library")
+}
+
+androidXMultiplatform {
+    android()
+
+    defaultPlatform(PlatformIdentifier.ANDROID)
+
+    sourceSets {
+        androidMain {
+            dependencies {
+                api(project(":fragment:fragment-ktx"))
+            }
+        }
+
+        androidInstrumentedTest {
+            dependencies {
+                implementation(libs.testRules)
+                implementation(libs.testRunner)
+                implementation(libs.junit)
+                implementation(libs.truth)
+            }
+        }
+    }
+}
+
+android {
+    namespace "androidx.fragment.compose"
+}
+
+androidx {
+    name = "Fragment Compose"
+    type = LibraryType.PUBLISHED_LIBRARY
+    publish = Publish.SNAPSHOT_AND_RELEASE
+    inceptionYear = "2024"
+    description = "Integrate Fragments with Compose to provide helper APIs for using Fragments in" +
+            "Compose or Compose inside of Fragments"
+}
diff --git a/fragment/fragment-compose/src/main/java/androidx/fragment/androidx-fragment-fragment-compose-documentation.md b/fragment/fragment-compose/src/main/java/androidx/fragment/androidx-fragment-fragment-compose-documentation.md
new file mode 100644
index 0000000..d047ad7
--- /dev/null
+++ b/fragment/fragment-compose/src/main/java/androidx/fragment/androidx-fragment-fragment-compose-documentation.md
@@ -0,0 +1,7 @@
+# Module root
+
+Androidx.Fragment Fragment-Compose
+
+# Package androidx.fragment.compose
+
+Insert package level documentation here
diff --git a/settings.gradle b/settings.gradle
index 48e7a6b..bd7ef37 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -670,10 +670,11 @@
 includeProject(":enterprise:enterprise-feedback", [BuildType.MAIN])
 includeProject(":enterprise:enterprise-feedback-testing", [BuildType.MAIN])
 includeProject(":exifinterface:exifinterface", [BuildType.MAIN])
-includeProject(":fragment:fragment", [BuildType.MAIN, BuildType.FLAN])
-includeProject(":fragment:fragment-ktx", [BuildType.MAIN, BuildType.FLAN])
-includeProject(":fragment:fragment-lint", [BuildType.MAIN, BuildType.FLAN])
-includeProject(":fragment:fragment-testing", [BuildType.MAIN, BuildType.FLAN])
+includeProject(":fragment:fragment", [BuildType.MAIN, BuildType.FLAN, BuildType.COMPOSE])
+includeProject(":fragment:fragment-compose", [BuildType.COMPOSE])
+includeProject(":fragment:fragment-ktx", [BuildType.MAIN, BuildType.FLAN, BuildType.COMPOSE])
+includeProject(":fragment:fragment-lint", [BuildType.MAIN, BuildType.FLAN, BuildType.COMPOSE])
+includeProject(":fragment:fragment-testing", [BuildType.MAIN, BuildType.FLAN, BuildType.COMPOSE])
 includeProject(":fragment:fragment-testing-lint", [BuildType.MAIN, BuildType.FLAN])
 includeProject(":fragment:fragment-testing-manifest", [BuildType.MAIN, BuildType.FLAN])
 includeProject(":fragment:fragment-testing-manifest-lint", [BuildType.MAIN, BuildType.FLAN])