build: specify java toolchain
This commit is contained in:
parent
a2cb5cd473
commit
0178cb2194
@ -5,6 +5,8 @@ plugins {
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
|
||||
toolchain.languageVersion = JavaLanguageVersion.of(11)
|
||||
}
|
||||
|
||||
jar {
|
||||
|
@ -0,0 +1,3 @@
|
||||
plugins {
|
||||
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
|
||||
}
|
Loading…
Reference in New Issue
Block a user