fix: migrate jvmTarget to compilerOptions DSL for Kotlin 2.x #352

Merged
guettlibot merged 1 commits from refs/pull/352/head into main 2026-06-02 19:10:48 +00:00
guettlibot commented 2026-06-02 18:48:53 +00:00 (Migrated from codeberg.org)

Summary

  • android/app/build.gradle.kts used kotlinOptions { jvmTarget = JavaVersion.VERSION_17.toString() }, which Kotlin 2.x treats as a compilation error ("Using jvmTarget: String is an error")
  • Replaced with the compilerOptions DSL using org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17

Test plan

  • Confirmed root cause from CI run #1316 logs: e: .../build.gradle.kts:20:9: Using 'jvmTarget: String' is an error
  • CI deploy workflow should now pass the Android bundle build step

Closes #351

🤖 Generated with Claude Code

## Summary - `android/app/build.gradle.kts` used `kotlinOptions { jvmTarget = JavaVersion.VERSION_17.toString() }`, which Kotlin 2.x treats as a compilation error ("Using jvmTarget: String is an error") - Replaced with the `compilerOptions` DSL using `org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17` ## Test plan - [x] Confirmed root cause from CI run #1316 logs: `e: .../build.gradle.kts:20:9: Using 'jvmTarget: String' is an error` - [ ] CI deploy workflow should now pass the Android bundle build step Closes #351 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.