changed jdk to version 17 (jetbrains)

This commit is contained in:
Marton Kiss 2025-01-30 12:04:05 +01:00
parent 1e89359333
commit d6e783f375
3 changed files with 9 additions and 6 deletions

1
.gitignore vendored
View File

@ -37,6 +37,7 @@ refilc_mobile_ui/.dart_tool/
.idea .idea
.gitmodules .gitmodules
.gradle .gradle
.kotlin
refilc/.DS_Store refilc/.DS_Store
.DS_Store .DS_Store

View File

@ -42,7 +42,7 @@ debugKeystoreProperties.load(new FileInputStream(debugKeystorePropertiesFile))
android { android {
namespace = "hu.refilc.naplo" namespace = "hu.refilc.naplo"
ndkVersion "27.0.12077973" ndkVersion "27.2.12479018"
// compileSdkVersion rootProject.ext.compileSdkVersion // compileSdkVersion rootProject.ext.compileSdkVersion
compileSdkVersion 34 compileSdkVersion 34
@ -72,14 +72,16 @@ android {
// Flag to enable support for the new language APIs // Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true coreLibraryDesugaringEnabled true
// Sets Java compatibility to Java 8 // Sets Java compatibility to Java 8
sourceCompatibility JavaVersion.VERSION_1_8 // sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8 // targetCompatibility JavaVersion.VERSION_1_8
// sourceCompatibility JavaVersion.VERSION_21 // sourceCompatibility JavaVersion.VERSION_21
// targetCompatibility JavaVersion.VERSION_21 // targetCompatibility JavaVersion.VERSION_21
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
} }
kotlinOptions { kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8 jvmTarget = JavaVersion.VERSION_17
} }
signingConfigs { signingConfigs {

View File

@ -24,8 +24,8 @@ pluginManagement {
plugins { plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.8.0" apply false id "com.android.application" version "8.7.3" apply false
id "org.jetbrains.kotlin.android" version "2.0.20" apply false id "org.jetbrains.kotlin.android" version "2.0.21" apply false
} }
include ":app" include ":app"