hultgren
08/20/2020, 1:36 AMandroid {
publishLibraryVariants("release", "debug")
}
used to work fine but after migrating I get this error:
Kotlin target 'android' tried to set up publishing for Android build variants that are not library variants or do not exist:
* release
* debug
Check the 'publishLibraryVariants' property, it should point to existing Android library variants. Publishing of application and test variants is not supported.Replacing above with
publishAllLibraryVariants()
does build, but it publishes no android artifacts.
Anyone else seen this?Artem Kopan
08/20/2020, 6:25 AMhultgren
08/20/2020, 4:32 PMMarc Dietrichstein
09/25/2020, 9:36 AM