Rodrigo Dominguez
10/09/2024, 4:06 PMpublishKotlinMultiplatformPublicationToGitHubPackagesRepository
, PublishAndroidDebugPublicationToGitHubPackagesRepository
and PublishAndroidReleasePublicationToGitHubPackagesRepository
) are not found within the gradle tasks .
kmmBridge = "1.0.1"
kotlin = 1.9.24
kpgalligan
10/09/2024, 4:56 PM./gradlew publish[etc]PublicationToGitHubPackagesRepository [yada yada] -PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} -PGITHUB_REPO=${{ github.repository }}
Rodrigo Dominguez
10/09/2024, 6:33 PMkpgalligan
10/09/2024, 6:41 PMkpgalligan
10/09/2024, 6:44 PMandroidTarget {
publishAllLibraryVariants()
}
If you're not telling KMP to publish, say, debug, then it won't create the debug publishing task. Off-hand, I'm not sure what happens is you simply exclude any publishing variant info, like so:
androidTarget()
It might default to release, but also might default to nothing (which is what I'd guess it does, but not sure).Rodrigo Dominguez
10/09/2024, 6:44 PMRodrigo Dominguez
10/09/2024, 6:47 PMpublishAllLibraryVariants
insteand of publishLibraryVariants
? 🥲kpgalligan
10/09/2024, 6:47 PMkpgalligan
10/09/2024, 6:47 PMYeah, looks like that's the issue.insteand ofpublishAllLibraryVariants
?publishLibraryVariants
Rodrigo Dominguez
10/09/2024, 6:50 PMkpgalligan
10/09/2024, 6:50 PMRodrigo Dominguez
10/09/2024, 7:40 PM