mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-05-04 13:45:18 -04:00
fix: JDK version was locked to exactly 17
This commit is contained in:
committed by
Torsten Grote
parent
b90f847c21
commit
1b978cf6d6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user