alexzhirkevich / qrose

Styled QR & Barcode generation library for Compose Multiplatform and Jetpack Compose
MIT License
236 stars 4 forks source link

Doesn't compile with jdk 17+ #3

Closed LazyHat closed 7 months ago

LazyHat commented 7 months ago

it doesn't compile on jdk 17+, respectively, i can't use it on new versions of compose. build log says: Cannot inline bytecode built with JVM target 17 into bytecode that is being built with JVM target 1.8.

alexzhirkevich commented 7 months ago

It was published with jvmTarget 17 by mistake. Technically it doesn't compile on target 16-. You can workaround it now using

android {
    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_17
        targetCompatibility = JavaVersion.VERSION_17
    }

Next version will be published with target 11.

alexzhirkevich commented 7 months ago

Please check 1.0.0-beta3