For a library I'm using, I get an error on some of the overridden methods:
Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option
The answer prior to my Bumblebee upgrade was to use kotlinOptions in the app build.gradle:
android {
kotlinOptions {
freeCompilerArgs = ['-Xjvm-default=compatibility']
jvmTarget = "1.8"
}
but now, kotlinOptions always breaks the build:
No signature of method: build_5rl9tbmrzydf364yqkdyvcpyq.android() is applicable for argument types: (build_5rl9tbmrzydf364yqkdyvcpyq$_run_closure1) values: [build_5rl9tbmrzydf364yqkdyvcpyq$_run_closure1@60f02a40]
so where else can I set the compiler options for Kotlin in Android Studio Bumblebee?
Or, how can I fix the build so that kotlinOptions works again?