Getting following now (based on code currently in ...
# touchlab-tools
j
Getting following now (based on code currently in https://github.com/joreilly/Confetti)
Copy code
Task 'kmmBridgePublish' not found in root project 'Confetti' and its subprojects.
if I run
./gradlew tasks
for KMMBridgeSKIETemplate I get
Copy code
Kmmbridge tasks
---------------
kmmBridgePublish
spmDevBuild
updatePackageSwift
uploadXCFramework
zipXCFramework
but for Confetti I just get following for some reason
Copy code
Kmmbridge tasks
---------------
spmDevBuild
hmm, added back
mavenPublishArtifacts()
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)
I see this from docs so seems like I shouldn't that
Copy code
In 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.
KMMBridgeSKIETemplate on the other hand has both
k
Yeah, that's confusing.
> In kmmbridge, notice
mavenPublishArtifacts()
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.
That's better wording.
I just sent a PR with a config that does have the
kmmBridgePublish
task. Now, assuming that works, it'll publish iOS. If you also want to publish Android, there's more config you need.
👍 1