build: Support for Flutter 3.22 (#1921)

Signed-off-by: validcube <pun.butrach@gmail.com>
This commit is contained in:
Pun Butrach
2024-06-24 23:55:37 +07:00
committed by GitHub
parent ca14e77ba3
commit 73368b58be
6 changed files with 30 additions and 21 deletions

View File

@ -23,10 +23,11 @@ if (flutterVersionName == null) {
}
android {
compileSdk flutter.compileSdkVersion
compileSdk 34
ndkVersion flutter.ndkVersion
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
@ -113,6 +114,7 @@ flutter {
}
dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4") // https://pub.dev/packages/flutter_local_notifications#gradle-setup
implementation("app.revanced:revanced-patcher:19.3.1")
implementation("app.revanced:revanced-library:2.2.1")
}