Migrates Compose libraries to use LibraryType instead of Publish
Also updates ListIterator disabling logic to use LibraryType.
Test: lintDebug
Change-Id: I77b87e4eba3cd81537fc3dd2cccfc4876b93f116
diff --git a/compose/ui/ui-test-manifest/build.gradle b/compose/ui/ui-test-manifest/build.gradle
index 0c92e15..02fdfd7 100644
--- a/compose/ui/ui-test-manifest/build.gradle
+++ b/compose/ui/ui-test-manifest/build.gradle
@@ -14,10 +14,8 @@
* limitations under the License.
*/
-
-import androidx.build.AndroidXUiPlugin
import androidx.build.LibraryGroups
-import androidx.build.Publish
+import androidx.build.LibraryType
plugins {
id("AndroidXPlugin")
@@ -31,7 +29,7 @@
androidx {
name = "Compose Testing manifest dependency"
- publish = Publish.SNAPSHOT_AND_RELEASE
+ type = LibraryType.PUBLISHED_LIBRARY
mavenGroup = LibraryGroups.Compose.UI
inceptionYear = "2021"
description = "Compose testing library that should be added as a debugImplementation dependency to add properties to the debug manifest necessary for testing an application"