From a26b607f35d4495d7ce0e513aef98b82cc72c9a2 Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 23 Jun 2020 17:49:30 +0800 Subject: [PATCH] Opt in MiraiExperimentalAPI for mirai-console-pure --- frontend/mirai-console-pure/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/mirai-console-pure/build.gradle.kts b/frontend/mirai-console-pure/build.gradle.kts index ea7d4c798..dbd9187e2 100644 --- a/frontend/mirai-console-pure/build.gradle.kts +++ b/frontend/mirai-console-pure/build.gradle.kts @@ -15,6 +15,7 @@ kotlin { languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn") languageSettings.progressiveMode = true languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiInternalAPI") + languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiExperimentalAPI") languageSettings.useExperimentalAnnotation("kotlin.ExperimentalUnsignedTypes") languageSettings.useExperimentalAnnotation("kotlin.experimental.ExperimentalTypeInference") languageSettings.useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts")