[idea] feat: set jvmTarget version explicitly (#2631)

feat(idea): set jvmTarget version explicitly
This commit is contained in:
Samarium 2023-04-18 03:08:32 -06:00 committed by GitHub
parent 578d1a9d48
commit a397ee9959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -9,7 +9,11 @@ group = '$GROUP_ID'
version = '$VERSION'
repositories {
#if ($USE_PROXY_REPO) maven { url 'https://maven.aliyun.com/repository/public' } #end
#if($USE_PROXY_REPO)maven { url 'https://maven.aliyun.com/repository/public' }#end
mavenCentral()
}
mirai {
jvmTarget JavaVersion.VERSION_1_8
}

View File

@ -10,7 +10,11 @@ group = "$GROUP_ID"
version = "$VERSION"
repositories {
#if ($USE_PROXY_REPO) maven("https://maven.aliyun.com/repository/public") #end
#if($USE_PROXY_REPO)maven("https://maven.aliyun.com/repository/public")#end
mavenCentral()
}
mirai {
jvmTarget = JavaVersion.VERSION_1_8
}