fix: JDK version was locked to exactly 17

This commit is contained in:
proletarius101
2025-05-26 14:36:41 +00:00
committed by Torsten Grote
parent b90f847c21
commit 1b978cf6d6

View File

@@ -3,14 +3,6 @@ plugins {
id 'com.android.library'
}
kotlin {
jvmToolchain(17)
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
// not really an Android library, but index is not publishing for JVM at the moment
android {
namespace 'org.fdroid.test'
@@ -18,6 +10,14 @@ android {
defaultConfig {
minSdkVersion 21
}
kotlinOptions {
jvmTarget = '17'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}
dependencies {