mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-27 17:00:14 +08:00
Set JVM target 1.8
This commit is contained in:
parent
f7c7452484
commit
54df8d63aa
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user