Set target java version 1.8

This commit is contained in:
Him188 2020-02-16 14:05:54 +08:00
parent ac5b148730
commit 76b5ac2704

View File

@ -39,6 +39,11 @@ description = "Java helper for Mirai"
val mirai_japt_version: String by rootProject.ext
version = mirai_japt_version
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlin {
sourceSets {
all {