Skip to content

Commit

Permalink
feat: prepare for publish to maven central
Browse files Browse the repository at this point in the history
 - fix ci build issue.kmmbridge not support custom platforms yet.
  • Loading branch information
hanrw committed Mar 1, 2024
1 parent 13c983e commit 1444b50
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions openai-client/openai-client-darwin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ kmmbridge {
* 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.
*/
mavenPublishArtifacts() // <- Publish using a Maven repo
// spm()
spm {
swiftToolsVersion = "5.9"
platforms {
iOS { v("14") }
macOS { v("13") }
watchOS { v("7") }
tvOS { v("14") }
}
}
spm()
// spm {
// swiftToolsVersion = "5.9"
// platforms {
// iOS { v("14") }
// macOS { v("13") }
// watchOS { v("7") }
// tvOS { v("14") }
// }
// }
}

0 comments on commit 1444b50

Please sign in to comment.