littlerobots / version-catalog-update-plugin

Gradle plugin for updating a project version catalog
Apache License 2.0
565 stars 23 forks source link

Versions catalog: fail fast if an alias contains 'class' #108

Closed laochen923 closed 1 year ago

laochen923 commented 1 year ago

Versions catalog: fail fast if an alias contains 'class' org.gradle.api.internal.catalog.GeneratedClassCompilationException: Unable to compile generated sources:

androidx-compose-material3_material3_window_size_class = { module = "androidx.compose.material3:material3-window-size-class", version.ref = "androidx-compose-material3" }

cannot contain 'class' eg. androidx-compose-material3_material3_window_size_class

hvisser commented 1 year ago

This is not related to this plugin, but a restriction in Gradle which is documented here: https://docs.gradle.org/current/userguide/platforms.html