maplibre / flutter-maplibre-gl

Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
https://pub.dev/packages/maplibre_gl
Other
226 stars 125 forks source link

Warning about incompatible kotlin version when building an application #286

Closed KostyaLocal closed 5 months ago

KostyaLocal commented 1 year ago

A few warning messages:

... build/maplibre_gl/.transforms/e051efffd8493411969fa8add4d357bf/transformed/out/jars/classes.jar!/META-INF/maplibre_gl_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.6.0.

project android\build.gradle:

 ext.kotlin_version = '1.9.0'
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:7.3.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
kuhnroyal commented 5 months ago

This is fixed.