pr0gramista / charset_converter

Flutter platform charset converter
BSD 3-Clause "New" or "Revised" License
29 stars 22 forks source link

Kotlin plugin version not compatible #20

Closed Abduraimbek closed 1 year ago

Abduraimbek commented 2 years ago

Following error occurs while bulding android project:


FAILURE: Build failed with an exception.

My kotlin version is 1.7.20 Gradle version is 7.3.1

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

    dependencies {
        classpath 'com.android.tools.build:gradle:7.3.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}
pr0gramista commented 1 year ago

Sorry for the late response. Have you found a solution? I'd be happy to fix it so others don't have to.

I'm not sure what's the recommended Kotlin version for the plugins, but I'll check some defaults the Flutter CLI has right now.

Abduraimbek commented 1 year ago

Hi Bartosz Wiśniewski! Thanks for reply. I solved problem by downgrading my kotlin version. But it uses some deprecated APIs. Gradle also uses jcenter(). My kotlin version now 1.7.20. Can you update your kotlin version to this?

pr0gramista commented 1 year ago

I just released version 2.1.1 with upgraded Kotlin and Gradle versions which I believe should resolve this issue. Let me know if it doesn't fix it.

Special thanks to the people who contributed #22 and #23 💙