openfoodfacts / openfoodfacts-androidapp

(Legacy) Native version of Open Food Facts on Android - Coders & Decoders welcome 🤳🥫
https://android.openfoodfacts.org
Apache License 2.0
771 stars 447 forks source link

Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option #5157

Open teolemon opened 9 months ago

teolemon commented 9 months ago

What

Task :app:compileObfPlaystoreDebugUnitTestKotlin FAILED e: file:///home/runner/work/openfoodfacts-androidapp/openfoodfacts-androidapp/app/src/test/java/openfoodfacts/github/scrachx/openfood/features/simplescan/SimpleScanViewModelTest.kt:29:35 Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option

teolemon commented 9 months ago

https://stackoverflow.com/questions/48988778/cannot-inline-bytecode-built-with-jvm-target-1-8-into-bytecode-that-is-being-bui