Skip to content

build(android): migrate Kotlin compiler options#805

Draft
Tinnci wants to merge 3 commits into
objectbox:mainfrom
Tinnci:agp9-built-in-kotlin
Draft

build(android): migrate Kotlin compiler options#805
Tinnci wants to merge 3 commits into
objectbox:mainfrom
Tinnci:agp9-built-in-kotlin

Conversation

@Tinnci
Copy link
Copy Markdown

@Tinnci Tinnci commented May 10, 2026

Draft status

This PR keeps the existing Kotlin Gradle Plugin application for current repository CI compatibility, while migrating deprecated Android kotlinOptions blocks to top-level kotlin { compilerOptions { ... } }.

This is intentionally not the full AGP 9 built-in Kotlin removal. Removing kotlin-android should be handled separately only when this repository is ready to require AGP 9 built-in Kotlin.

Scope

Only Android Gradle build configuration is changed. No Dart APIs, Android manifests, SDK versions, or runtime code are changed.

Verification

  • rg "kotlinOptions" on touched Android Gradle files returns no matches.
  • rg "compilerOptions" confirms JVM target configuration exists.
  • git diff --check

@Tinnci Tinnci changed the title [Android] Support AGP 9 built-in Kotlin [Draft][Android] Support AGP 9 built-in Kotlin May 10, 2026
@Tinnci Tinnci changed the title [Draft][Android] Support AGP 9 built-in Kotlin build(android): support AGP 9 built-in Kotlin May 10, 2026
@Tinnci Tinnci changed the title build(android): support AGP 9 built-in Kotlin build(android): migrate Kotlin compiler options May 10, 2026
@greenrobot-team
Copy link
Copy Markdown
Member

Thanks! We're planning to modernize the examples to use the latest Flutter templates anyhow, so this will be resolved as a part of that. There is no need to make this change right now?

@greenrobot-team greenrobot-team added the more info required Needs more info to become actionable. Auto-closed if no response. label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

more info required Needs more info to become actionable. Auto-closed if no response.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants