mirai/backend/codegen/build.gradle.kts
2020-06-24 02:22:01 +08:00

26 lines
958 B
Plaintext

plugins {
kotlin("jvm") version "1.4-M2"
kotlin("plugin.serialization") version "1.4-M2"
id("java")
}
kotlin {
sourceSets {
all {
languageSettings.useExperimentalAnnotation("kotlin.Experimental")
languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
languageSettings.progressiveMode = true
languageSettings.languageVersion = "1.4"
languageSettings.apiVersion = "1.4"
languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiInternalAPI")
languageSettings.useExperimentalAnnotation("kotlin.ExperimentalUnsignedTypes")
languageSettings.useExperimentalAnnotation("kotlin.experimental.ExperimentalTypeInference")
languageSettings.useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts")
}
}
}
dependencies {
api(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
}