Skip to content

Commit 7380910

Browse files
committed
updated Java compatibility version to 17
1 parent aa0ce88 commit 7380910

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

flutter_local_notifications/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [20.0.0-dev.2]
2+
3+
* [Android] updated Java compatibility version to 17
4+
15
## [20.0.0-dev.1]
26

37
* **Breaking change** bumped minimum Flutter SDK requirement to 3.32.0 and Dart SDK requirement to 3.8.0

flutter_local_notifications/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ android {
210210
compileOptions {
211211
// Flag to enable support for the new language APIs
212212
coreLibraryDesugaringEnabled true
213-
// Sets Java compatibility to Java 11
214-
sourceCompatibility JavaVersion.VERSION_11
215-
targetCompatibility JavaVersion.VERSION_11
213+
// Sets Java compatibility to Java 17
214+
sourceCompatibility JavaVersion.VERSION_17
215+
targetCompatibility JavaVersion.VERSION_17
216216
}
217217
218218
kotlinOptions {
219-
jvmTarget = "11"
219+
jvmTarget = "17"
220220
}
221221
}
222222

flutter_local_notifications/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ android {
2626
compileSdk 35
2727
compileOptions {
2828
coreLibraryDesugaringEnabled true
29-
sourceCompatibility JavaVersion.VERSION_11
30-
targetCompatibility JavaVersion.VERSION_11
29+
sourceCompatibility JavaVersion.VERSION_17
30+
targetCompatibility JavaVersion.VERSION_17
3131
}
3232

3333
defaultConfig {

flutter_local_notifications/example/android/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ android {
3333

3434
compileOptions {
3535
coreLibraryDesugaringEnabled true
36-
sourceCompatibility JavaVersion.VERSION_11
37-
targetCompatibility JavaVersion.VERSION_11
36+
sourceCompatibility JavaVersion.VERSION_17
37+
targetCompatibility JavaVersion.VERSION_17
3838
}
3939
kotlinOptions {
40-
jvmTarget = "11"
40+
jvmTarget = "17"
4141
}
4242

4343
defaultConfig {

flutter_local_notifications/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: flutter_local_notifications
22
description: A cross platform plugin for displaying and scheduling local
33
notifications for Flutter applications with the ability to customise for each
44
platform.
5-
version: 20.0.0-dev.1
5+
version: 20.0.0-dev.2
66
homepage: https://github.com/MaikuB/flutter_local_notifications/tree/master/flutter_local_notifications
77
issue_tracker: https://github.com/MaikuB/flutter_local_notifications/issues
88

0 commit comments

Comments
 (0)