mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-11 02:50:15 +08:00
Use Kotlin language version 1.4
This commit is contained in:
parent
e0c5e17833
commit
081474931f
@ -48,20 +48,6 @@ kotlin {
|
|||||||
useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts")
|
useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets.invoke {
|
|
||||||
getByName("test") {
|
|
||||||
languageSettings.apply {
|
|
||||||
languageVersion = "1.4"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
getByName("main") {
|
|
||||||
languageSettings.apply {
|
|
||||||
languageVersion = "1.3"
|
|
||||||
apiVersion = "1.3"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
Loading…
Reference in New Issue
Block a user