From d6e783f375687f99e6ca605d8b96c06539b1641b Mon Sep 17 00:00:00 2001 From: Marton Kiss Date: Thu, 30 Jan 2025 12:04:05 +0100 Subject: [PATCH] changed jdk to version 17 (jetbrains) --- .gitignore | 1 + refilc/android/app/build.gradle | 10 ++++++---- refilc/android/settings.gradle | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index f057bdc..d0db3ea 100644 --- a/.gitignore +++ b/.gitignore @@ -37,6 +37,7 @@ refilc_mobile_ui/.dart_tool/ .idea .gitmodules .gradle +.kotlin refilc/.DS_Store .DS_Store diff --git a/refilc/android/app/build.gradle b/refilc/android/app/build.gradle index 3033e43..9634626 100644 --- a/refilc/android/app/build.gradle +++ b/refilc/android/app/build.gradle @@ -42,7 +42,7 @@ debugKeystoreProperties.load(new FileInputStream(debugKeystorePropertiesFile)) android { namespace = "hu.refilc.naplo" - ndkVersion "27.0.12077973" + ndkVersion "27.2.12479018" // compileSdkVersion rootProject.ext.compileSdkVersion compileSdkVersion 34 @@ -72,14 +72,16 @@ android { // Flag to enable support for the new language APIs coreLibraryDesugaringEnabled true // Sets Java compatibility to Java 8 - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + // sourceCompatibility JavaVersion.VERSION_1_8 + // targetCompatibility JavaVersion.VERSION_1_8 // sourceCompatibility JavaVersion.VERSION_21 // targetCompatibility JavaVersion.VERSION_21 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_1_8 + jvmTarget = JavaVersion.VERSION_17 } signingConfigs { diff --git a/refilc/android/settings.gradle b/refilc/android/settings.gradle index 5d73dbe..7ff81ac 100644 --- a/refilc/android/settings.gradle +++ b/refilc/android/settings.gradle @@ -24,8 +24,8 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "8.8.0" apply false - id "org.jetbrains.kotlin.android" version "2.0.20" apply false + id "com.android.application" version "8.7.3" apply false + id "org.jetbrains.kotlin.android" version "2.0.21" apply false } include ":app"