Skip to content

Commit 400fbf1

Browse files
committed
feat: update dependencies and Gradle version
Updates several key dependencies to their newer versions: * Kotlin: 2.2.0 -> 2.3.0 * Android Gradle Plugin: 8.11.0 -> 8.13.2 * Compose: 1.8.2 -> 1.9.3 * AndroidX Activity Compose: 1.10.1 -> 1.12.2 * AndroidX Test: 1.6.1 -> 1.7.0 * Compose UI Tooling: 1.8.3 -> 1.10.0 Additionally, this commit upgrades the Gradle wrapper from version 8.14.2 to 9.2.1 and increases the `minSdk` for the sample app to 23. Minor formatting changes in the podspec file are also included.
1 parent f0ff74e commit 400fbf1

File tree

5 files changed

+14
-22
lines changed

5 files changed

+14
-22
lines changed

gradle/libs.versions.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ compileSdk = "36"
44
targetSdk = "36"
55
minSdk = "21"
66
lyft-kronos = "0.0.1-alpha11"
7-
kotlin = "2.2.0"
7+
kotlin = "2.3.0"
88
jdk = "17"
9-
agp = "8.11.0"
10-
compose = "1.8.2"
9+
agp = "8.13.2"
10+
compose = "1.9.3"
1111
androidx-appcompat = "1.7.1"
12-
androidx-activityCompose = "1.10.1"
13-
androidx-test = "1.6.1"
14-
compose-uitooling = "1.8.3"
12+
androidx-activityCompose = "1.12.2"
13+
androidx-test = "1.7.0"
14+
compose-uitooling = "1.10.0"
1515
napier = "2.7.1"
1616
kotlinx-coroutines = "1.10.2"
1717
swift-klib = "0.6.4"

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#Fri Jun 27 19:10:37 GET 2025
1+
#Mon Dec 22 10:48:29 GET 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-all.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-all.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

iosApp/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ EXTERNAL SOURCES:
99
:path: "../sampleApp"
1010

1111
SPEC CHECKSUMS:
12-
sampleApp: 74ffcffb09857e525c843f48fcd5511e65e94800
12+
sampleApp: e909326983bb06efca253dd34ef59f897c3fedad
1313

1414
PODFILE CHECKSUM: 31aecb1c889393f7cb5f9aac6f63f896eb049a8e
1515

16-
COCOAPODS: 1.12.1
16+
COCOAPODS: 1.16.2

sampleApp/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ android {
8181
compileSdk = libs.versions.compileSdk.get().toInt()
8282

8383
defaultConfig {
84-
minSdk = libs.versions.minSdk.get().toInt()
84+
minSdk = 23
8585
targetSdk = libs.versions.targetSdk.get().toInt()
8686

8787
applicationId = "com.softartdev.kronos.sample"

sampleApp/sampleApp.podspec

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,29 @@ Pod::Spec.new do |spec|
99
spec.vendored_frameworks = 'build/cocoapods/framework/ComposeApp.framework'
1010
spec.libraries = 'c++'
1111
spec.ios.deployment_target = '14.1'
12-
13-
1412
if !Dir.exist?('build/cocoapods/framework/ComposeApp.framework') || Dir.empty?('build/cocoapods/framework/ComposeApp.framework')
1513
raise "
16-
1714
Kotlin framework 'ComposeApp' doesn't exist yet, so a proper Xcode project can't be generated.
1815
'pod install' should be executed after running ':generateDummyFramework' Gradle task:
19-
2016
./gradlew :sampleApp:generateDummyFramework
21-
2217
Alternatively, proper pod installation is performed during Gradle sync in the IDE (if Podfile location is set)"
2318
end
24-
2519
spec.xcconfig = {
2620
'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO',
2721
}
28-
2922
spec.pod_target_xcconfig = {
3023
'KOTLIN_PROJECT_PATH' => ':sampleApp',
3124
'PRODUCT_MODULE_NAME' => 'ComposeApp',
3225
}
33-
3426
spec.script_phases = [
3527
{
3628
:name => 'Build sampleApp',
3729
:execution_position => :before_compile,
3830
:shell_path => '/bin/sh',
3931
:script => <<-SCRIPT
4032
if [ "YES" = "$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED" ]; then
41-
echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\""
42-
exit 0
33+
echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\""
34+
exit 0
4335
fi
4436
set -ev
4537
REPO_ROOT="$PODS_TARGET_SRCROOT"
@@ -51,4 +43,4 @@ Pod::Spec.new do |spec|
5143
}
5244
]
5345
spec.resources = ['build/compose/cocoapods/compose-resources']
54-
end
46+
end

0 commit comments

Comments
 (0)