From 127e49953c756ac9aa79dae9b5fe3b3221fe14f4 Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 4 Sep 2020 20:49:15 +0800 Subject: [PATCH] Use -jvm-default-all --- backend/mirai-console/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mirai-console/build.gradle.kts b/backend/mirai-console/build.gradle.kts index e589b4a89..f19e05e10 100644 --- a/backend/mirai-console/build.gradle.kts +++ b/backend/mirai-console/build.gradle.kts @@ -32,7 +32,7 @@ kotlin { target.compilations.all { kotlinOptions { jvmTarget = "1.8" - freeCompilerArgs = freeCompilerArgs + "-Xjvm-default=enable" + freeCompilerArgs = freeCompilerArgs + "-Xjvm-default=all" //useIR = true } }