mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-22 11:55:12 +01:00
[ci-skip] Java version only accessible via project.extra not extra
This commit is contained in:
parent
89d4f02982
commit
1130d3ee79
@ -17,11 +17,11 @@ repositories {
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(extra["java_version"].toString().toInt()))
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(project.extra["java_version"].toString().toInt()))
|
||||
}
|
||||
|
||||
tasks {
|
||||
compileJava {
|
||||
options.release.set(extra["java_version"].toString().toInt())
|
||||
options.release.set(project.extra["java_version"].toString().toInt())
|
||||
}
|
||||
}
|
@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(extra["java_version"].toString().toInt()))
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(project.extra["java_version"].toString().toInt()))
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -19,6 +19,6 @@ tasks {
|
||||
}
|
||||
|
||||
compileJava {
|
||||
options.release.set(extra["java_version"].toString().toInt())
|
||||
options.release.set(project.extra["java_version"].toString().toInt())
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user