1
0
forked from firka/firka

fix java version mismatch and compatibility

This commit is contained in:
zypherift
2025-02-11 01:13:34 +01:00
parent 7e2c92c5a5
commit c997130005
2 changed files with 11 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
plugins {
id "com.android.application"
id "kotlin-android"
id 'com.android.application'
id 'kotlin-android'
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id "dev.flutter.flutter-gradle-plugin"
id 'dev.flutter.flutter-gradle-plugin'
}
// Load keystore properties from the independent secrets folder
@@ -21,22 +21,22 @@ println "Keystore properties file exists: ${keystorePropertiesFile.exists()}"
println "Keystore file path: ${keystoreProperties['storeFile']}"
android {
namespace = "hu.qwit.filc"
namespace = 'hu.qwit.filc'
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
jvmTarget = JavaVersion.VERSION_17
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "hu.qwit.filc"
applicationId = 'hu.qwit.filc'
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
@@ -62,5 +62,5 @@ android {
}
flutter {
source = "../.."
}
source = '../..'
}

View File

@@ -18,7 +18,7 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.1.0" apply false
id "com.android.application" version "8.2.1" apply false
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
}