mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Fix warnings
This commit is contained in:
parent
9fb167ee60
commit
514183e793
@ -8,7 +8,7 @@ kotlin {
|
|||||||
sourceSets {
|
sourceSets {
|
||||||
all {
|
all {
|
||||||
languageSettings.useExperimentalAnnotation("kotlin.Experimental")
|
languageSettings.useExperimentalAnnotation("kotlin.Experimental")
|
||||||
languageSettings.useExperimentalAnnotation("kotlin.OptIn")
|
languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
|
||||||
languageSettings.progressiveMode = true
|
languageSettings.progressiveMode = true
|
||||||
languageSettings.languageVersion = "1.4"
|
languageSettings.languageVersion = "1.4"
|
||||||
languageSettings.apiVersion = "1.4"
|
languageSettings.apiVersion = "1.4"
|
||||||
|
@ -47,7 +47,7 @@ kotlin {
|
|||||||
all {
|
all {
|
||||||
|
|
||||||
languageSettings.useExperimentalAnnotation("kotlin.Experimental")
|
languageSettings.useExperimentalAnnotation("kotlin.Experimental")
|
||||||
languageSettings.useExperimentalAnnotation("kotlin.OptIn")
|
languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
|
||||||
languageSettings.progressiveMode = true
|
languageSettings.progressiveMode = true
|
||||||
languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiInternalAPI")
|
languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiInternalAPI")
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ kotlin {
|
|||||||
languageSettings.enableLanguageFeature("InlineClasses")
|
languageSettings.enableLanguageFeature("InlineClasses")
|
||||||
|
|
||||||
languageSettings.useExperimentalAnnotation("kotlin.Experimental")
|
languageSettings.useExperimentalAnnotation("kotlin.Experimental")
|
||||||
languageSettings.useExperimentalAnnotation("kotlin.OptIn")
|
languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
|
||||||
languageSettings.progressiveMode = true
|
languageSettings.progressiveMode = true
|
||||||
languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiInternalAPI")
|
languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiInternalAPI")
|
||||||
languageSettings.useExperimentalAnnotation("kotlin.ExperimentalUnsignedTypes")
|
languageSettings.useExperimentalAnnotation("kotlin.ExperimentalUnsignedTypes")
|
||||||
|
@ -20,7 +20,7 @@ kotlin {
|
|||||||
all {
|
all {
|
||||||
|
|
||||||
languageSettings.useExperimentalAnnotation("kotlin.Experimental")
|
languageSettings.useExperimentalAnnotation("kotlin.Experimental")
|
||||||
languageSettings.useExperimentalAnnotation("kotlin.OptIn")
|
languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
|
||||||
languageSettings.progressiveMode = true
|
languageSettings.progressiveMode = true
|
||||||
languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiInternalAPI")
|
languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiInternalAPI")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user