alexzhirkevich / qrose

Styled QR & Barcode generation library for Compose Multiplatform and Jetpack Compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't compile with jdk 17+

LazyHat opened this issue · comments

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.

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.

Please check 1.0.0-beta3