Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
val composeBomVersion: String by extra("2026.01.00")
extra["composeBomVersion"] = "2026.06.01"
}

plugins {
Expand Down
3 changes: 1 addition & 2 deletions chiptextfield-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ kotlin {
}

jvm()
iosX64()
iosArm64()
iosSimulatorArm64()
// macosX64()
Expand All @@ -35,7 +34,7 @@ kotlin {
}
binaries.library()
}
js(IR) {
js {
compilerOptions {
outputModuleName.set("chiptextfield-core-jscanvas")
}
Expand Down
3 changes: 1 addition & 2 deletions chiptextfield-m3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ kotlin {
}

jvm()
iosX64()
iosArm64()
iosSimulatorArm64()
// macosX64()
Expand All @@ -35,7 +34,7 @@ kotlin {
}
binaries.library()
}
js(IR) {
js {
compilerOptions {
outputModuleName.set("chiptextfield-m3-jscanvas")
}
Expand Down
3 changes: 1 addition & 2 deletions chiptextfield/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ kotlin {
}

jvm()
iosX64()
iosArm64()
iosSimulatorArm64()
// macosX64()
Expand All @@ -31,7 +30,7 @@ kotlin {
}
binaries.library()
}
js(IR) {
js {
compilerOptions {
outputModuleName.set("chiptextfield-jscanvas")
}
Expand Down
6 changes: 2 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
Expand All @@ -15,8 +15,6 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# Android operating system, and which are packaged with your app"s APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official

Expand Down Expand Up @@ -45,4 +43,4 @@ POM_SCM_DEV_CONNECTION=scm:git:ssh://git@github.com/dokar3/ChipTextField.git

POM_DEVELOPER_ID=dokar3
POM_DEVELOPER_NAME=Dokar
POM_DEVELOPER_URL=https://github.com/dokar3/
POM_DEVELOPER_URL=https://github.com/dokar3/
24 changes: 12 additions & 12 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[versions]
androidCompileSdk = "36"
androidTargetSdk = "36"
androidCompileSdk = "37"
androidTargetSdk = "37"
androidMinSdk = "23"
kotlin = "2.3.10"
coil = "3.4.0"
compose-multiplatform = "1.10.3"
coroutines = "1.10.2"
agp = "9.1.1"
maven-publish = "0.36.0"
ktor = "3.4.2"
androidx-core-ktx = "1.17.0"
androidx-lifecycle = "2.10.0"
androidx-activity = "1.12.4"
kotlin = "2.4.10"
coil = "3.5.0"
compose-multiplatform = "1.11.1"
coroutines = "1.11.0"
agp = "9.3.0"
Comment on lines +5 to +9

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.

maven-publish = "0.37.0"
ktor = "3.5.1"
androidx-core-ktx = "1.19.0"
androidx-lifecycle = "2.11.0"
androidx-activity = "1.13.0"
androidx-test-ext-junit = "1.3.0"
androidx-espresso = "3.7.0"

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading
Loading