From 5efa9b2ae8ab4144b7119370d263a33a5ca425cc Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Mon, 13 Oct 2025 01:25:37 +0800 Subject: [PATCH] :rocket: Launch 3.3.0+135 --- android/app/build.gradle.kts | 19 ++++++++++++++----- pubspec.yaml | 2 +- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 2c56bf94..538aafc8 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -25,13 +25,8 @@ android { compileOptions { isCoreLibraryDesugaringEnabled = true - - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 } - kotlinOptions { jvmTarget = JavaVersion.VERSION_17.toString() } - defaultConfig { applicationId = "dev.solsynth.solian" // You can update the following values to match your application needs. @@ -75,3 +70,17 @@ dependencies { flutter { source = "../.." } + + +kotlin { + compilerOptions { + jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21) + } + jvmToolchain(21) +} + +java { + toolchain { + languageVersion.set(JavaLanguageVersion.of(21)) + } +} diff --git a/pubspec.yaml b/pubspec.yaml index 2f6334a5..2cd5ddc0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 3.2.0+134 +version: 3.3.0+135 environment: sdk: ^3.7.2