Back to Java 17

This commit is contained in:
Nite 2025-04-02 20:32:33 +02:00
parent a06662a255
commit a11d5729a8
No known key found for this signature in database
GPG Key ID: 1D1AD59B1C6386C1
5 changed files with 9 additions and 9 deletions

2
.idea/compiler.xml generated
View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="CompilerConfiguration"> <component name="CompilerConfiguration">
<bytecodeTargetLevel target="21" /> <bytecodeTargetLevel target="17" />
</component> </component>
</project> </project>

View File

@ -43,7 +43,7 @@ allprojects {
// Set Kotlin JVM target to the same for all subprojects // Set Kotlin JVM target to the same for all subprojects
tasks.withType(KotlinCompile).configureEach { tasks.withType(KotlinCompile).configureEach {
kotlinOptions { kotlinOptions {
jvmTarget = "21" jvmTarget = "17"
} }
} }

View File

@ -14,7 +14,7 @@ dependencies {
android { android {
namespace 'org.moire.ultrasonic.subsonic.domain' namespace 'org.moire.ultrasonic.subsonic.domain'
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_21 sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_21 targetCompatibility JavaVersion.VERSION_17
} }
} }

View File

@ -5,8 +5,8 @@ plugins {
apply from: bootstrap.kotlinModule apply from: bootstrap.kotlinModule
java { java {
sourceCompatibility = JavaVersion.VERSION_21 sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_17
} }
dependencies { dependencies {

View File

@ -53,7 +53,7 @@ android {
} }
kotlinOptions { kotlinOptions {
jvmTarget = "21" jvmTarget = "17"
} }
buildFeatures { buildFeatures {
@ -63,8 +63,8 @@ android {
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_21 sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_21 targetCompatibility JavaVersion.VERSION_17
} }
ksp { ksp {