Skip to content

Move away from Kotlin Gradle Plugin #204

Description

@AndreasLymalmMTM

Description

When building an app on Android, having flutter_readium as a dependecy, the following warning will show up, from Flutter 3.44:

WARNING: Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP): flutter_readium, wakelock_plus
Future versions of Flutter will fail to build if your app uses plugins that apply KGP.

Please check the changelogs of these plugins and upgrade to a version that supports Built-in Kotlin.
If no such version exists, report the issue to the plugin. If necessary, here is a guide on filing
an issue against a plugin: https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers#report-incompatible-kotlin-gradle-plugin-usage-to-plugin-authors

If you are a plugin author, please migrate your plugin to Built-in Kotlin using this guide: https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors

Note that wakelock_plus, which flutter_readium is dependent upon, is also included. Version 1.7.0 of this package should have migrated already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions