Skip to content

fix(android): migrate to built-in Kotlin - #215

Open
ddfreiling wants to merge 1 commit into
Notalib:mainfrom
ddfreiling:fix/remove-android-kgp
Open

fix(android): migrate to built-in Kotlin#215
ddfreiling wants to merge 1 commit into
Notalib:mainfrom
ddfreiling:fix/remove-android-kgp

Conversation

@ddfreiling

Copy link
Copy Markdown
Member

Summary

  • validate flutter_readium with AGP 9.3, Gradle 9.5, and built-in Kotlin enabled
  • use the conventional Kotlin source layout so both built-in and legacy Kotlin discover the plugin sources
  • require wakelock_plus 1.7.0, whose Android implementation supports built-in Kotlin

Verification

  • flutter build apk --debug — passed with Flutter 3.47.2, AGP 9.3, and built-in Kotlin
  • bin/format — passed
  • bin/analyze — passed
  • :flutter_readium:compileDebugKotlin --offline — passed in a disposable Flutter 3.44.8 / AGP 8.13 compatibility copy

A full APK build in the legacy compatibility copy reached dependency resolution but Maven DNS was unavailable for androidx.test:runner:1.2+; the targeted Kotlin compilation passed afterward from the local cache.

Fixes #204

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.

Move away from Kotlin Gradle Plugin

1 participant