diff --git a/build.gradle.kts b/build.gradle.kts index ea6392c17..6f2aea9aa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -29,6 +29,9 @@ allprojects { // outputs the compiler version to logs so we can check whether the train configuration applied kotlinOptions.freeCompilerArgs += "-version" } + tasks.withType().configureEach { + compilerOptions { freeCompilerArgs.add("-Xjvm-default=disable") } + } tasks.withType().configureEach { compilerOptions { freeCompilerArgs.add("-Xpartial-linkage-loglevel=ERROR") } }