Feature Request: Add support for JDK 25 (LTS) in toolchain configurations
- Dominant language
- Kotlin
- Stars
- 38
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
### Feature Request
Please consider adding **JDK 25 (LTS)** as a supported/selectable JDK option in the Kotlin Multiplatform Wizard project templates.
### Context & Rationale
* **Java 25 (LTS)** was officially released as the latest Long-Term Support version on September 16, 2025.
* Currently, generated KMP projects default to JDK 21 (`toolchainVersion=21` in `gradle/gradle-daemon-jvm.properties`).
* While Android target builds currently rely on Java 17/21 toolchains, Compose Multiplatform Desktop and JVM-targeted KMP modules can run on JDK 25.
### Proposed Solution
1. Provide an option (or update template defaults) to generate `gradle/gradle-daemon-jvm.properties` with `toolchainVersion=25` for JVM/Desktop targets.
2. Ensure generated Gradle build scripts (`jvmToolchain`) accommodate JDK 25 where applicable.
### Benefits
This allows developers creating Desktop and cross-platform applications via the wizard to leverage the latest Java LTS runtime directly out-of-the-box without manual toolchain re-configuration.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the project-template configuration that generates gradle/gradle-daemon-jvm.properties, then inspect the generated Gradle build scripts for jvmToolchain usage. Add JDK 25 as a selectable option or applicable default for JVM/Desktop targets, and verify that generated projects contain the expected toolchain configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100