Move media3 effect artifact to new folder.
We need to create a new group name for the artifact, because it cannot move to stable with the rest of the CameraX artifacts. As per suggestion from the AndroidX team, we will also move the code location based on the output of ./development/project-creator/create_project.sh.
Relnote: change media3effect library group name and create new code path.
Bug: 380310983
Test: manual test and ./gradlew bOS
Change-Id: I65ca4f0e2fa29278fb96d892aacc489897b02417
diff --git a/camera/media3/OWNERS b/camera/media3/OWNERS
new file mode 100644
index 0000000..15331e5
--- /dev/null
+++ b/camera/media3/OWNERS
@@ -0,0 +1 @@
+# [email protected]
diff --git a/camera/media3/media3-effect/api/current.txt b/camera/media3/media3-effect/api/current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/camera/media3/media3-effect/api/current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/camera/media3/media3-effect/api/res-current.txt b/camera/media3/media3-effect/api/res-current.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/camera/media3/media3-effect/api/res-current.txt
diff --git a/camera/media3/media3-effect/api/restricted_current.txt b/camera/media3/media3-effect/api/restricted_current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/camera/media3/media3-effect/api/restricted_current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/camera/media3/media3-effect/build.gradle b/camera/media3/media3-effect/build.gradle
new file mode 100644
index 0000000..630f430
--- /dev/null
+++ b/camera/media3/media3-effect/build.gradle
@@ -0,0 +1,46 @@
+/*
+ * 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
+
+plugins {
+ id("AndroidXPlugin")
+ id("com.android.library")
+ id("org.jetbrains.kotlin.android")
+}
+
+dependencies {
+ api(libs.kotlinStdlib)
+ // Add dependencies here
+}
+
+android {
+ namespace "androidx.camera.media3.effect"
+}
+
+androidx {
+ name = "androidx.camera.media3:media3-effect"
+ type = LibraryType.PUBLISHED_LIBRARY
+ inceptionYear = "2024"
+ description = "Media3 effect components for the Jetpack Camera Library, a library providing a seamless integration that enables media3 effect in CameraX."
+}
diff --git a/camera/media3/media3-effect/src/main/java/androidx/camera/media3/androidx-camera-media3-media3-effect-documentation.md b/camera/media3/media3-effect/src/main/java/androidx/camera/media3/androidx-camera-media3-media3-effect-documentation.md
new file mode 100644
index 0000000..165cc9f
--- /dev/null
+++ b/camera/media3/media3-effect/src/main/java/androidx/camera/media3/androidx-camera-media3-media3-effect-documentation.md
@@ -0,0 +1,7 @@
+# Module root
+
+androidx.camera.media3 media3-effect
+
+# Package androidx.camera.media3.effect
+
+Media3 effect components for the Jetpack Camera Library, a library providing a seamless integration that enables media3 effect in CameraX.