mirror of
https://github.com/jellyfin/jellyfin-sdk-kotlin.git
synced 2024-11-26 23:50:32 +00:00
Lower Java toolchain version to 8 (#865)
This commit is contained in:
parent
f4b5963d91
commit
c61075e93c
@ -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
|
||||
|
@ -8,7 +8,7 @@ kotlin {
|
||||
|
||||
jvm()
|
||||
|
||||
jvmToolchain(17)
|
||||
jvmToolchain(8)
|
||||
|
||||
sourceSets {
|
||||
all {
|
||||
|
@ -8,7 +8,7 @@ kotlin {
|
||||
|
||||
jvm()
|
||||
|
||||
jvmToolchain(17)
|
||||
jvmToolchain(8)
|
||||
|
||||
sourceSets {
|
||||
all {
|
||||
|
@ -12,7 +12,7 @@ kotlin {
|
||||
publishAllLibraryVariants()
|
||||
}
|
||||
|
||||
jvmToolchain(17)
|
||||
jvmToolchain(8)
|
||||
|
||||
applyDefaultHierarchyTemplate()
|
||||
|
||||
|
@ -9,7 +9,7 @@ kotlin {
|
||||
|
||||
jvm()
|
||||
|
||||
jvmToolchain(17)
|
||||
jvmToolchain(8)
|
||||
|
||||
sourceSets {
|
||||
all {
|
||||
|
@ -7,7 +7,7 @@ kotlin {
|
||||
|
||||
jvm()
|
||||
|
||||
jvmToolchain(17)
|
||||
jvmToolchain(8)
|
||||
|
||||
sourceSets {
|
||||
all {
|
||||
|
Loading…
Reference in New Issue
Block a user