From a11d5729a845bd1d76067febcb88f43b387680f1 Mon Sep 17 00:00:00 2001 From: Nite Date: Wed, 2 Apr 2025 20:32:33 +0200 Subject: [PATCH] Back to Java 17 --- .idea/compiler.xml | 2 +- build.gradle | 2 +- core/domain/build.gradle | 4 ++-- core/subsonic-api/build.gradle | 4 ++-- ultrasonic/build.gradle | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.idea/compiler.xml b/.idea/compiler.xml index b86273d9..b589d56e 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/build.gradle b/build.gradle index ebc6fa8b..1797e96b 100644 --- a/build.gradle +++ b/build.gradle @@ -43,7 +43,7 @@ allprojects { // Set Kotlin JVM target to the same for all subprojects tasks.withType(KotlinCompile).configureEach { kotlinOptions { - jvmTarget = "21" + jvmTarget = "17" } } diff --git a/core/domain/build.gradle b/core/domain/build.gradle index 75b14dc5..32933d6e 100644 --- a/core/domain/build.gradle +++ b/core/domain/build.gradle @@ -14,7 +14,7 @@ dependencies { android { namespace 'org.moire.ultrasonic.subsonic.domain' compileOptions { - sourceCompatibility JavaVersion.VERSION_21 - targetCompatibility JavaVersion.VERSION_21 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } } diff --git a/core/subsonic-api/build.gradle b/core/subsonic-api/build.gradle index 47428b10..625447f4 100644 --- a/core/subsonic-api/build.gradle +++ b/core/subsonic-api/build.gradle @@ -5,8 +5,8 @@ plugins { apply from: bootstrap.kotlinModule java { - sourceCompatibility = JavaVersion.VERSION_21 - targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } dependencies { diff --git a/ultrasonic/build.gradle b/ultrasonic/build.gradle index a92a3928..15f1f6d7 100644 --- a/ultrasonic/build.gradle +++ b/ultrasonic/build.gradle @@ -53,7 +53,7 @@ android { } kotlinOptions { - jvmTarget = "21" + jvmTarget = "17" } buildFeatures { @@ -63,8 +63,8 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_21 - targetCompatibility JavaVersion.VERSION_21 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } ksp {