John O'Reilly
04/05/2024, 11:06 AMTask 'kmmBridgePublish' not found in root project 'Confetti' and its subprojects.John O'Reilly
04/05/2024, 11:06 AMJohn O'Reilly
04/05/2024, 11:20 AM./gradlew tasks for KMMBridgeSKIETemplate I get
Kmmbridge tasks
---------------
kmmBridgePublish
spmDevBuild
updatePackageSwift
uploadXCFramework
zipXCFrameworkJohn O'Reilly
04/05/2024, 11:21 AMKmmbridge tasks
---------------
spmDevBuildJohn O'Reilly
04/05/2024, 11:28 AMmavenPublishArtifacts() and see those tasks there (had removed it due to last issue I had....maybe mistakenly thought it was related to publishing non-IOS artifacts to maven)John O'Reilly
04/05/2024, 11:33 AMIn kmmbridge, notice mavenPublishArtifacts() tells the plugin to push KMMBridge artifacts to a Maven repo. You then need to define a repo. Rather than do everything manually, you can just call addGithubPackagesRepository(), which will add the correct repo given parameters that are passed in from GitHub Actions.John O'Reilly
04/05/2024, 11:34 AMkpgalligan
04/05/2024, 3:35 PMkpgalligan
04/05/2024, 3:36 PMmavenPublishArtifacts() tells the plugin to push KMMBridge artifacts to a Maven repo. You then need to define a repo.
>
> You can define a maven repo manually. However, if using GitHub packages and our GitHub Actions workflow, you can just call addGithubPackagesRepository(), which will add the correct repo given parameters that are passed in from GitHub Actions.kpgalligan
04/05/2024, 3:36 PMkpgalligan
04/05/2024, 3:37 PMkmmBridgePublish task. Now, assuming that works, it'll publish iOS. If you also want to publish Android, there's more config you need.