Rename publish = Publish.SNAPSHOT_AND_RELEASE to type = LibraryType.PublishedLibrary
Part of consolidating to only use AndroidXExtension.type to control publishing
BUG: 327630926
TESTED: ran ./gradlew publish --dry-run and the tasks are the same as that on androidx-main
Change-Id: I8834fec7139102ee6a2c647c4610b3dc05a2c09b
diff --git a/camera/camera-camera2-pipe-testing/build.gradle b/camera/camera-camera2-pipe-testing/build.gradle
index 4f625c4..9c3bf67 100644
--- a/camera/camera-camera2-pipe-testing/build.gradle
+++ b/camera/camera-camera2-pipe-testing/build.gradle
@@ -21,7 +21,7 @@
* Please use that script when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
-import androidx.build.Publish
+import androidx.build.LibraryType
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
@@ -67,7 +67,7 @@
androidx {
name = "Camera2 Pipe Testing"
- publish = Publish.SNAPSHOT_AND_RELEASE
+ type = LibraryType.PUBLISHED_LIBRARY
mavenVersion = LibraryVersions.CAMERA_PIPE
inceptionYear = "2020"
description = "Testing components for the Camera2 Pipe Library, a library providing a " +