From 1b978cf6d69d89a13e62670add4d156cfdac2fc5 Mon Sep 17 00:00:00 2001 From: proletarius101 Date: Mon, 26 May 2025 14:36:41 +0000 Subject: [PATCH] fix: JDK version was locked to exactly 17 --- libs/sharedTest/build.gradle | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/sharedTest/build.gradle b/libs/sharedTest/build.gradle index c81e5db83..f90cf96ac 100644 --- a/libs/sharedTest/build.gradle +++ b/libs/sharedTest/build.gradle @@ -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 {