Lower Java toolchain version to 8 (#865)

This commit is contained in:
Niels van Velzen 2024-02-04 16:08:44 +01:00 committed by GitHub
parent f4b5963d91
commit c61075e93c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ import org.gradle.api.Project
*/
fun Project.getProperty(name: String): String? {
// sample.var --> SAMPLE_VAR
val environmentName = name.toUpperCase().replace(".", "_")
val environmentName = name.uppercase().replace(".", "_")
val value = findProperty(name)?.toString() ?: System.getenv(environmentName) ?: null
logger.debug("getProperty($name): $environmentName - found=${!value.isNullOrBlank()}")
return value

View File

@ -8,7 +8,7 @@ kotlin {
jvm()
jvmToolchain(17)
jvmToolchain(8)
sourceSets {
all {

View File

@ -8,7 +8,7 @@ kotlin {
jvm()
jvmToolchain(17)
jvmToolchain(8)
sourceSets {
all {

View File

@ -12,7 +12,7 @@ kotlin {
publishAllLibraryVariants()
}
jvmToolchain(17)
jvmToolchain(8)
applyDefaultHierarchyTemplate()

View File

@ -9,7 +9,7 @@ kotlin {
jvm()
jvmToolchain(17)
jvmToolchain(8)
sourceSets {
all {

View File

@ -7,7 +7,7 @@ kotlin {
jvm()
jvmToolchain(17)
jvmToolchain(8)
sourceSets {
all {