Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vinaygaba
Copy link
Collaborator

@vinaygaba vinaygaba commented Dec 20, 2022

Fixes #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

@@ -14,13 +14,6 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}

buildTypes {
Copy link
Collaborator Author

@vinaygaba vinaygaba Dec 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not 100% sure that this is what was causing the issue so if you have any other ideas, I'm open to them!

@vinaygaba
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add support to other build types than only debug and release
1 participant