Skip to content

Update build toolchain and dependencies - #200

Merged
dokar3 merged 1 commit into
mainfrom
update-build-dependencies-2026-07
Jul 22, 2026
Merged

Update build toolchain and dependencies#200
dokar3 merged 1 commit into
mainfrom
update-build-dependencies-2026-07

Conversation

@dokar3

@dokar3 dokar3 commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Build & Compatibility

    • Updated Android SDK targets and refreshed Kotlin, Compose, networking, imaging, lifecycle, and build tooling versions.
    • Upgraded the Gradle wrapper to 9.6.1.
    • Increased build memory limits and removed legacy AndroidX migration support.
  • Platform Support

    • Updated Kotlin Multiplatform configuration for current JavaScript targets.
    • Removed the legacy 64-bit Intel iOS target from library and sample builds.

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Gradle tooling and dependency versions are updated, JVM and AndroidX settings change, and Kotlin Multiplatform library and sample targets migrate JavaScript DSL usage while removing x64 iOS targets.

Changes

Build modernization

Layer / File(s) Summary
Toolchain and dependency updates
build.gradle.kts, gradle/libs.versions.toml, gradle/wrapper/gradle-wrapper.properties, gradle.properties
Compose BOM, Android SDK, Kotlin, Compose, library, plugin, and Gradle versions are updated; JVM memory settings increase and Jetifier is removed.
Library multiplatform target configuration
chiptextfield-core/build.gradle, chiptextfield-m3/build.gradle, chiptextfield/build.gradle
The iosX64() target is removed and JavaScript targets use js { ... } while retaining compiler and browser output configuration.
Sample multiplatform target configuration
sample/shared/build.gradle.kts, sample/webApp/build.gradle.kts
Sample JavaScript targets use js { ... }, and the shared sample removes its iosX64() target while preserving browser configuration.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes to the build toolchain, Gradle wrapper, and dependency versions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-build-dependencies-2026-07

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@gradle/libs.versions.toml`:
- Around line 5-9: Keep the Kotlin, AGP, and Gradle versions within a documented
supported compatibility matrix: update the versions declared near kotlin and agp
in gradle/libs.versions.toml and the distribution URL in
gradle/wrapper/gradle-wrapper.properties, or raise Kotlin to a release
explicitly supporting the current toolchain. Ensure both affected files are
changed consistently.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 006b5778-fa7b-4812-8f8e-66d20e4c728b

📥 Commits

Reviewing files that changed from the base of the PR and between dcfe69b and 513bbf0.

⛔ Files ignored due to path filters (1)
  • kotlin-js-store/yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (9)
  • build.gradle.kts
  • chiptextfield-core/build.gradle
  • chiptextfield-m3/build.gradle
  • chiptextfield/build.gradle
  • gradle.properties
  • gradle/libs.versions.toml
  • gradle/wrapper/gradle-wrapper.properties
  • sample/shared/build.gradle.kts
  • sample/webApp/build.gradle.kts

Comment thread gradle/libs.versions.toml
Comment on lines +5 to +9
kotlin = "2.4.10"
coil = "3.5.0"
compose-multiplatform = "1.11.1"
coroutines = "1.11.0"
agp = "9.3.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

kotlin=$(sed -nE 's/^kotlin = "([^"]+)"/\1/p' gradle/libs.versions.toml)
agp=$(sed -nE 's/^agp = "([^"]+)"/\1/p' gradle/libs.versions.toml)
gradle=$(sed -nE 's#.*gradle-([0-9.]+)-bin.zip#\1#p' gradle/wrapper/gradle-wrapper.properties)

printf 'Kotlin: %s\nAGP: %s\nGradle: %s\n' "$kotlin" "$agp" "$gradle"

if [[ "$kotlin" == "2.4.10" && "$agp" == "9.3.0" ]]; then
  echo "Kotlin 2.4.10 is outside its fully supported AGP range." >&2
  exit 1
fi

if [[ "$kotlin" == "2.4.10" && "$gradle" == "9.6.1" ]]; then
  echo "Kotlin 2.4.10 is outside its fully supported Gradle range." >&2
  exit 1
fi

Repository: dokar3/ChipTextField

Length of output: 254


🌐 Web query:

Kotlin 2.4.10 Gradle 9.6.1 AGP 9.3.0 compatibility matrix official docs

💡 Result:

As of July 22, 2026, the compatibility between Kotlin 2.4.10, Gradle 9.6.1, and Android Gradle Plugin (AGP) 9.3.0 is supported as follows: Kotlin 2.4.10 and AGP 9.3.0 Compatibility The official Kotlin Multiplatform compatibility guide states that Kotlin 2.4.x versions (including 2.4.10) are compatible with Android Gradle Plugin versions 8.5.2 through 9.1.0 [1]. Note that while AGP 9.3.0 is a newer release [2], developers should verify specific project requirements against the Android Developer documentation, as AGP updates often introduce tighter integration requirements for Kotlin and R8 [3][4]. Gradle 9.6.1 and Kotlin Compatibility Gradle 9.6.1 officially supports Kotlin 2.4.x. According to the Gradle User Manual, Gradle has been tested with Kotlin 2.0.0 through 2.4.0-RC, and later minor releases like 2.4.10 are generally compatible within that support window [5]. Gradle 9.6.1 and AGP 9.3.0 Compatibility AGP 9.3.0 officially requires a minimum Gradle version of 9.5.0 [2]. Therefore, Gradle 9.6.1 is fully compatible with and recommended for use with AGP 9.3.0 [2][6]. Summary Table Component | Version --- | --- Kotlin | 2.4.10 [7] Gradle | 9.6.1 [6] AGP | 9.3.0 [2] Recommendation: Always consult the official Android Gradle Plugin release notes and the Kotlin Multiplatform compatibility guide when configuring your project, as specific minor versions may have distinct requirements for D8/R8 compilers or experimental build features [3][1][2].

Citations:


🌐 Web query:

site:kotlinlang.org/docs/gradle-configure-project.html Kotlin Gradle plugin supported Gradle versions 2.4.10

💡 Result:

The Kotlin Gradle plugin (KGP) version 2.4.10 supports Gradle versions ranging from 7.6.3 to 9.5.0 [1]. According to official Kotlin documentation, version 2.4.10 requires a minimum Gradle version of 7.6.3 for project compilation [1]. The version 9.5.0 is identified as the maximum fully supported version, meaning it is free of deprecated Gradle methods and properties and supports all current Gradle features [1]. While it is possible to use Gradle versions beyond 9.5.0, you may encounter deprecation warnings or issues with new features [1].

Citations:


🌐 Web query:

site:developer.android.com AGP 9.3.0 compatible Gradle version official docs

💡 Result:

According to the official Android documentation, the Android Gradle Plugin (AGP) version 9.3.0 requires a minimum and default Gradle version of 9.5.0 [1][2]. For compatibility information regarding other tools used with AGP 9.3.0, refer to the following: - SDK Build Tools: 36.0.0 [1] - NDK: 28.2.13676358 [1] - JDK: 17 [1] You can also use the Android Gradle Plugin Upgrade Assistant within Android Studio to help manage and ensure compatibility between your AGP, Gradle, and other third-party plugin versions [3].

Citations:


Keep the Kotlin/AGP/Gradle combo inside the supported matrix.

gradle/libs.versions.toml#L5-L9 / gradle/wrapper/gradle-wrapper.properties#L3: Kotlin 2.4.10 only documents AGP support through 9.1.0 and Gradle support through 9.5.0, so agp = "9.3.0" and gradle-9.6.1 are both outside the published compatibility range. Either keep Kotlin 2.4.10 and use supported versions, or bump Kotlin to a release that explicitly supports this toolchain.

📍 Affects 2 files
  • gradle/libs.versions.toml#L5-L9 (this comment)
  • gradle/wrapper/gradle-wrapper.properties#L3-L3
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gradle/libs.versions.toml` around lines 5 - 9, Keep the Kotlin, AGP, and
Gradle versions within a documented supported compatibility matrix: update the
versions declared near kotlin and agp in gradle/libs.versions.toml and the
distribution URL in gradle/wrapper/gradle-wrapper.properties, or raise Kotlin to
a release explicitly supporting the current toolchain. Ensure both affected
files are changed consistently.

@dokar3
dokar3 merged commit 38a64ef into main Jul 22, 2026
2 checks passed
@dokar3
dokar3 deleted the update-build-dependencies-2026-07 branch July 22, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant