airbnb / Showkase

🔦 Showkase is an annotation-processor based Android library that helps you organize, discover, search and visualize Jetpack Compose UI elements
https://medium.com/airbnb-engineering/introducing-showkase-a-library-to-organize-discover-and-visualize-your-jetpack-compose-elements-d5c34ef01095
Apache License 2.0
2.11k stars 107 forks source link

Stop publishing separate debug and release artifacts for the "showakse" artifact on maven #291

Open vinaygaba opened 1 year ago

vinaygaba commented 1 year ago

Fixes https://github.com/airbnb/Showkase/issues/274

Showkase was publishing separate debug and release artifacts to maven and this was causing weirdness when consumers had custom build types that weren't debug and release. Moreover, this wasn't intended to be the case in the first place so I'm attempting to fix this for the future releases.

Screen Shot 2022-12-20 at 3 03 35 PM

@airbnb/showkase-maintainers

vinaygaba commented 1 year ago

Okay I've found the root cause. It seems like bumping up the version of the gradle-maven-publish-plugin to 0.19 caused a behavior change. - https://github.com/vanniktech/gradle-maven-publish-plugin/blob/master/CHANGELOG.md#version-0190-2022-02-26

Screen Shot 2022-12-20 at 3 35 10 PM