This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
Non-default variants are not published #64
Comments
Based on this https://issuetracker.google.com/issues/68492586 it won't be fixed in AGP. I've used https://github.com/wupdigital/android-maven-publish plugin to achieve this. |
@isuski I could not get the plugin to work, could you share your config? |
@mightea you want config for https://github.com/wupdigital/android-maven-publish ? |
Yes, that would be awesome, I could not get gradle to work properly with the publish plugin |
This config creates task mavenAll which uploads all variants to internal maven repository
|
Thank you @lsuski |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I don't know if this is plugin issue or AGP but with plugin 2.0 and AGP 3.0.0 only single variant is published.
publishNonDefault=true
does not work anymore because AGP should automatically publish all variants and ignores this setting.The text was updated successfully, but these errors were encountered: