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/annotation/annotation-experimental/build.gradle b/annotation/annotation-experimental/build.gradle
index d703028..d86283c 100644
--- a/annotation/annotation-experimental/build.gradle
+++ b/annotation/annotation-experimental/build.gradle
@@ -22,7 +22,7 @@
* modifying its settings.
*/
import androidx.build.KotlinTarget
-import androidx.build.Publish
+import androidx.build.LibraryType
plugins {
id("AndroidXPlugin")
@@ -37,7 +37,7 @@
androidx {
name = "Experimental annotation"
- publish = Publish.SNAPSHOT_AND_RELEASE
+ type = LibraryType.PUBLISHED_LIBRARY
mavenVersion = LibraryVersions.ANNOTATION_EXPERIMENTAL
kotlinTarget = KotlinTarget.KOTLIN_1_7
inceptionYear = "2019"