Skip to content

Commit

Permalink
kotlin 1.9.20
Browse files Browse the repository at this point in the history
  • Loading branch information
luca992 committed Nov 1, 2023
1 parent 2aa4012 commit eb55fea
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ org-kodein-mock-mockmp = { id = "org.kodein.mock.mockmp", version.ref = "mockmp"

[versions]

kotlin = "1.9.10"
kotlin = "1.9.20"
agp = "8.1.2"
compose-jb = "1.5.3"
compose-jb = "1.5.10"
vanniktech-publish = "0.25.3"
okio = "3.6.0"
multiplatform-resources = "0.23.0"
Expand All @@ -27,7 +27,6 @@ androidx-startup = "1.1.1"
androidx-appcompat = "1.6.1"
androidx-runner = "1.5.2"


[libraries]

com-squareup-okio = { module = "com.squareup.okio:okio", version.ref = "okio" }
Expand Down
11 changes: 11 additions & 0 deletions sample/sample.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ Pod::Spec.new do |spec|
spec.ios.deployment_target = '14.1'


if !Dir.exist?('build/cocoapods/framework/shared.framework') || Dir.empty?('build/cocoapods/framework/shared.framework')
raise "
Kotlin framework 'shared' doesn't exist yet, so a proper Xcode project can't be generated.
'pod install' should be executed after running ':generateDummyFramework' Gradle task:
./gradlew :sample:generateDummyFramework
Alternatively, proper pod installation is performed during Gradle sync in the IDE (if Podfile location is set)"
end

spec.pod_target_xcconfig = {
'KOTLIN_PROJECT_PATH' => ':sample',
'PRODUCT_MODULE_NAME' => 'shared',
Expand Down

0 comments on commit eb55fea

Please sign in to comment.