Set JVM target 1.8

This commit is contained in:
Him188 2020-10-25 12:31:34 +08:00
parent f7c7452484
commit 54df8d63aa

View File

@ -127,7 +127,7 @@ fun Project.configureDokka() {
@Suppress("NOTHING_TO_INLINE") // or error
fun Project.configureJvmTarget() {
tasks.withType(KotlinJvmCompile::class.java) {
kotlinOptions.jvmTarget = "8"
kotlinOptions.jvmTarget = "1.8"
}
extensions.findByType(JavaPluginExtension::class.java)?.run {