Skip to content

Commit

Permalink
feat(BE-195): support darwin by kmmbridge
Browse files Browse the repository at this point in the history
 - trying to fix Cannot find type 'openai_client_darwin' in scope
  • Loading branch information
hanrw committed Apr 21, 2024
1 parent 3b834f2 commit 19836bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ android.useAndroidX=true
android.nonTransitiveRClass=true

#publishing for kmmbridge
## Darwin Publish require from - nextVersion parameter must be a valid semver string. Current value: 0.1.4.
## So we need set version to 0.1 or 0.2 ......
LIBRARY_VERSION=0.2
GROUP=com.tddworks

Expand Down
3 changes: 3 additions & 0 deletions openai-gateway/openai-gateway-darwin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ kotlin {
macosTarget.binaries.framework {
baseName = "openai-gateway-darwin"
export(projects.openaiGateway.openaiGatewayCore)
export(projects.openaiClient.openaiClientCore)
export(projects.ollamaClient.ollamaClientCore)
export(projects.anthropicClient.anthropicClientCore)
isStatic = true
}
}
Expand Down

0 comments on commit 19836bd

Please sign in to comment.