Skip to content

Migrate to Kotlin 2.3.0 and Gradle 9.2.1#20

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/migrate-plugin-config-kotlin-2-3
Draft

Migrate to Kotlin 2.3.0 and Gradle 9.2.1#20
Copilot wants to merge 3 commits intomainfrom
copilot/migrate-plugin-config-kotlin-2-3

Conversation

Copy link

Copilot AI commented Jan 1, 2026

Updates the plugin and exported version catalog to use Kotlin 2.3.0, along with upgrading Gradle to 9.2.1 for compatibility.

Changes

  • gradle/libs.versions.toml: 2.2.02.3.0 (plugin build configuration)
  • gradle/globals.versions.toml: 2.2.212.3.0 (exported kodeinGlobals catalog)
  • Gradle Wrapper: 9.1.09.2.1 (required for Kotlin 2.3.0 compatibility)

Projects consuming this plugin will receive Kotlin 2.3.0 through the kodeinGlobals version catalog, affecting all Kotlin plugins (JVM, Multiplatform, Android, Serialization, Compose) and libraries.

Gradle 9.2.1 officially supports Kotlin 2.3.0 per the Gradle compatibility matrix. The previous Gradle 9.1.0 only supported Kotlin 2.2.x.

Original prompt

This section details on the original issue you should resolve

<issue_title>Migrate plugin configuration to use Kotlin 2.3</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: romainbsl <10594945+romainbsl@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate plugin configuration to use Kotlin 2.3 Migrate to Kotlin 2.3.0 Jan 1, 2026
Copilot AI requested a review from romainbsl January 1, 2026 16:30
gradle-develocityPlugin = "4.2.2" # https://plugins.gradle.org/plugin/com.gradle.develocity
gradle-publishPlugin = "1.3.0" # https://plugins.gradle.org/plugin/com.gradle.plugin-publish
kotlin = "2.2.0" # https://docs.gradle.org/current/userguide/compatibility.html#kotlin
kotlin = "2.3.0" # https://docs.gradle.org/current/userguide/compatibility.html#kotlin
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

You're correct! Kotlin 2.3.0 is not compatible with Gradle 9.1.0. I've updated Gradle to 9.2.1 which officially supports Kotlin 2.3.x per the compatibility matrix. Fixed in commit 24d9cda.

Co-authored-by: romainbsl <10594945+romainbsl@users.noreply.github.com>
Copy link
Author

Copilot AI commented Jan 1, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • ajoberstar.github.io
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED -XX:MaxMetaspaceSize=384m -XX:&#43;HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 (dns block)
  • dl.google.com
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED -XX:MaxMetaspaceSize=384m -XX:&#43;HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 (dns block)
  • scans-in.gradle.com
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED -XX:MaxMetaspaceSize=384m -XX:&#43;HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title Migrate to Kotlin 2.3.0 Migrate to Kotlin 2.3.0 and Gradle 9.2.1 Jan 1, 2026
Copilot AI requested a review from romainbsl January 1, 2026 18:06
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.

Migrate plugin configuration to use Kotlin 2.3

2 participants