Bump kotlin 2.3.20, gradle 9.4.1, realm 4.0.2 and more#1573
Conversation
f940a3b to
a9be12f
Compare
1ff880b to
f82444e
Compare
Bumps `kotlin_version` from 2.2.21 to 2.3.10. Updates `org.jetbrains.kotlin:kotlin-reflect` from 2.2.21 to 2.3.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v2.2.21...v2.3.10) Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 2.2.21 to 2.3.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v2.2.21...v2.3.10) Updates `org.jetbrains.kotlin.android` from 2.2.21 to 2.3.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v2.2.21...v2.3.10) Updates `org.jetbrains.kotlin.plugin.serialization` from 2.2.21 to 2.3.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v2.2.21...v2.3.10) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-version: 2.3.10 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-version: 2.3.10 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin.android dependency-version: 2.3.10 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin.plugin.serialization dependency-version: 2.3.10 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
- Update `kotlin_serialization_version` to 1.10.0 - Update `android_gradlePlugin_version` to 9.0.0 - Update `hilt_version` to 2.59.1 - Update `play_publisher_version` to 4.0.0 - Remove `kotlin-android` plugin definition from `libs.versions.toml`
…to specific application and library configuration functions. - Replace `CommonExtension` with `ApplicationExtension` and `LibraryExtension` in `KotlinAndroid.kt`. - Extract Kotlin compiler options configuration into a standalone `configureKotlinCompiler` function using `KotlinCompile` tasks. - Simplify plugin application in `AndroidApplicationConventionPlugin` and `AndroidLibraryConventionPlugin`.
- Bump Kotlin to 2.3.20, AGP to 9.1.1, and update various library versions (Firebase, Hilt, SQLCipher, etc.) - Refactor `Application` to override `getWorkManagerConfiguration()` method - Add missing `androidx.core` and `work-runtime` dependencies to infra modules - Change `simface` dependency visibility from `api` to `implementation` - Remove redundant Kotlin Android plugin from `data-generator` module
…sorFlow libraries after AGP 9 upgrade
f82444e to
5724b82
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s build toolchain and dependency versions (Kotlin/AGP/Gradle/Realm, plus assorted libs) and adjusts the build-logic convention plugins accordingly, with a few follow-up code/test tweaks needed to compile under the new toolchain.
Changes:
- Bump versions in the Gradle version catalog and update the Gradle wrapper checksum/URL.
- Refactor build-logic Android conventions to configure Kotlin compiler options via
KotlinCompiletasks and update Android plugin configuration entry points. - Normalize test annotations to
org.junit.Testand update a few Android/runtime dependencies and APIs (e.g., WorkManager configuration override).
Reviewed changes
Copilot reviewed 21 out of 22 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| testing/data-generator/build.gradle.kts | Removes Kotlin Android plugin alias from module plugins block. |
| infra/logging/src/test/java/com/simprints/infra/logging/LogDirectoryProviderTest.kt | Switches test annotation import to JUnit. |
| infra/logging/build.gradle.kts | Adds androidx.core:core-ktx dependency. |
| infra/images/src/test/java/com/simprints/infra/images/remote/signedurl/SignedUrlSampleUploaderTest.kt | Switches test annotation import to JUnit. |
| infra/event-sync/src/test/java/com/simprints/infra/eventsync/event/usecases/TokenizeEventPayloadFieldsUseCaseTest.kt | Switches test annotation import to JUnit. |
| infra/event-sync/src/test/java/com/simprints/infra/eventsync/event/remote/models/samples/ApiEventSampleUpSyncRequestPayloadTest.kt | Switches test annotation import to JUnit. |
| infra/enrolment-records/room-store/src/test/java/com/simprints/infra/enrolment/records/room/store/migration/Migration1to2Test.kt | Switches test annotation import to JUnit. |
| infra/enrolment-records/repository/src/androidTest/kotlin/com/simprints/infra/enrolment/records/repository/local/RealmEnrolmentRecordLocalDataSourceIntegrationTest.kt | Import ordering + switches test annotation import to JUnit. |
| infra/enrolment-records/repository/build.gradle.kts | Adds WorkManager runtime dependency. |
| infra/core/src/test/java/com/simprints/core/tools/utils/MapUtilKtTest.kt | Switches test annotation import to JUnit. |
| id/src/main/java/com/simprints/id/Application.kt | Updates WorkManager configuration override to getWorkManagerConfiguration(). |
| gradle/wrapper/gradle-wrapper.properties | Updates Gradle distribution URL and adds SHA256. |
| gradle/libs.versions.toml | Updates many versions, changes coordinates, and removes kotlin-android plugin alias. |
| gradle.properties | Adds android.uniquePackageNames=false workaround and related comments. |
| feature/troubleshooting/src/test/java/com/simprints/feature/troubleshooting/overview/usecase/ExportLogsUseCaseTest.kt | Switches test annotation import to JUnit. |
| feature/client-api/src/test/java/com/simprints/feature/clientapi/mappers/request/extractors/ActionRequestExtractorTest.kt | Switches test annotation import to JUnit. |
| face/infra/simface/build.gradle.kts | Changes api(libs.simface) to implementation(libs.simface). |
| face/infra/bio-sdk-resolver/build.gradle.kts | Adds explicit libs.simface dependency. |
| build.gradle.kts | Removes Kotlin Android plugin alias declaration from root plugins block. |
| build-logic/convention/src/main/kotlin/common/KotlinAndroid.kt | Refactors Kotlin/Android convention configuration and compiler args setup. |
| build-logic/convention/src/main/kotlin/AndroidLibraryConventionPlugin.kt | Stops applying Kotlin Android plugin and calls updated Android library config helper. |
| build-logic/convention/src/main/kotlin/AndroidApplicationConventionPlugin.kt | Stops applying Kotlin Android plugin and calls updated Android application config helper. |
| with(pluginManager) { | ||
| apply("com.android.library") | ||
| apply("org.jetbrains.kotlin.android") | ||
|
|
||
| apply("simprints.ci.jacoco") | ||
| } |
|
We require contributors to sign our Contributor License Agreement. For us to review and merge your code, don't hesitate to get in touch with @chrisjroyce, @TristramN or @mharvey83 to get yourself added. |
|
We require contributors to sign our Contributor License Agreement. For us to review and merge your code, don't hesitate to get in touch with @chrisjroyce, @TristramN or @mharvey83 to get yourself added. |
3726d1a to
a9542db
Compare
Bumps
kotlin_versionfrom 2.2.21 to 2.3.10.Updates
org.jetbrains.kotlin:kotlin-reflectfrom 2.2.21 to 2.3.10Release notes
Sourced from org.jetbrains.kotlin:kotlin-reflect's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin:kotlin-reflect's changelog.
... (truncated)
Commits
679366aAdd ChangeLog for 2.3.10-RC214ba833Serialization: remove potential data race during extension registrationfb8d334Revert "K2: implement equality for ConeAttribute.EnhancedNullability"412afb7Add ChangeLog for 2.3.10-RCedea41e[Gradle] Un-deprecate 'androidTarget()'0946452Bump version of the ASM dependency655fb78Reflection: always compute JVM signature of built-in functions manually58d3875Fix mergeReleaseComposeMapping task failure when build cache is enabled56e0a79Copy R8 outputs to Compose folder when transforming obfuscation filee0eb174Fix classId for detecting protobuf enumsUpdates
org.jetbrains.kotlin:kotlin-gradle-pluginfrom 2.2.21 to 2.3.10Release notes
Sourced from org.jetbrains.kotlin:kotlin-gradle-plugin's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin:kotlin-gradle-plugin's changelog.
... (truncated)
Commits
679366aAdd ChangeLog for 2.3.10-RC214ba833Serialization: remove potential data race during extension registrationfb8d334Revert "K2: implement equality for ConeAttribute.EnhancedNullability"412afb7Add ChangeLog for 2.3.10-RCedea41e[Gradle] Un-deprecate 'androidTarget()'0946452Bump version of the ASM dependency655fb78Reflection: always compute JVM signature of built-in functions manually58d3875Fix mergeReleaseComposeMapping task failure when build cache is enabled56e0a79Copy R8 outputs to Compose folder when transforming obfuscation filee0eb174Fix classId for detecting protobuf enumsUpdates
org.jetbrains.kotlin.androidfrom 2.2.21 to 2.3.10Release notes
Sourced from org.jetbrains.kotlin.android's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin.android's changelog.
... (truncated)
Commits
679366aAdd ChangeLog for 2.3.10-RC214ba833Serialization: remove potential data race during extension registrationfb8d334Revert "K2: implement equality for ConeAttribute.EnhancedNullability"412afb7Add ChangeLog for 2.3.10-RCedea41e[Gradle] Un-deprecate 'androidTarget()'0946452Bump version of the ASM dependency655fb78Reflection: always compute JVM signature of built-in functions manually58d3875Fix mergeReleaseComposeMapping task failure when build cache is enabled56e0a79Copy R8 outputs to Compose folder when transforming obfuscation filee0eb174Fix classId for detecting protobuf enumsUpdates
org.jetbrains.kotlin.plugin.serializationfrom 2.2.21 to 2.3.10Release notes
Sourced from org.jetbrains.kotlin.plugin.serialization's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin.plugin.serialization's changelog.
... (truncated)
Commits
679366aAdd ChangeLog for 2.3.10-RC214ba833Serialization: remove potential data race during extension registrationfb8d334Revert "K2: implement equality for ConeAttribute.EnhancedNullability"412afb7Add ChangeLog for 2.3.10-RCedea41e[Gradle] Un-deprecate 'androidTarget()'0946452Bump version of the ASM dependency655fb78Reflection: always compute JVM signature of built-in functions manually58d3875Fix mergeReleaseComposeMapping task failure when build cache is enabled56e0a79Copy R8 outputs to Compose folder when transforming obfuscation filee0eb174Fix classId for detecting protobuf enumsYou can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)