From 3a23dd628832dcd942e8e77b0f62871b8c55a517 Mon Sep 17 00:00:00 2001 From: Yoshi Date: Sun, 10 Nov 2024 19:55:18 +0300 Subject: [PATCH] Update java --- android/app/build.gradle | 6 +++--- android/settings.gradle | 2 +- pubspec.lock | 8 ++++---- pubspec.yaml | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 3a37dd5..66278ec 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -16,12 +16,12 @@ android { ndkVersion = flutter.ndkVersion compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = 17 } sourceSets { diff --git a/android/settings.gradle b/android/settings.gradle index bd016dc..5a6de5c 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -19,7 +19,7 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "com.android.application" version "7.3.1" apply false - id "org.jetbrains.kotlin.android" version "2.0.0" apply false + id "org.jetbrains.kotlin.android" version "2.0.20" apply false } include ":app" diff --git a/pubspec.lock b/pubspec.lock index 5796875..8652614 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -250,10 +250,10 @@ packages: dependency: "direct main" description: name: device_info_plus - sha256: c4af09051b4f0508f6c1dc0a5c085bf014d5c9a4a0678ce1799c2b4d716387a0 + sha256: f545ffbadee826f26f2e1a0f0cbd667ae9a6011cc0f77c0f8f00a969655e6e95 url: "https://pub.dev" source: hosted - version: "11.1.0" + version: "11.1.1" device_info_plus_platform_interface: dependency: transitive description: @@ -878,10 +878,10 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: df3eb3e0aed5c1107bb0fdb80a8e82e778114958b1c5ac5644fb1ac9cae8a998 + sha256: da8d9ac8c4b1df253d1a328b7bf01ae77ef132833479ab40763334db13b91cce url: "https://pub.dev" source: hosted - version: "8.1.0" + version: "8.1.1" package_info_plus_platform_interface: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index d58a52b..7fa2bb0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -35,8 +35,8 @@ dependencies: # quick_settings: ^1.0.1 json_annotation: ^4.9.0 flutter_timezone: ^3.0.1 - device_info_plus: ^11.1.0 - package_info_plus: ^8.1.0 + device_info_plus: ^11.1.1 + package_info_plus: ^8.1.1 connectivity_plus: ^6.1.0 flutter_map_cache: ^1.5.1 freezed_annotation: ^2.4.4