Skip to content

Commit 28088d3

Browse files
authored
[quick_actions] updates build files to use JVM 17 (#10132)
Update minimum flutter version to 3.35 to force a minimum AGP version to something that requires java 17. part of [#176027](flutter/flutter#176027) All dart code changes were formatter changes. ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent e538d4a commit 28088d3

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

packages/quick_actions/quick_actions_android/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.0.24
2+
3+
* Updates Java compatibility version to 17.
4+
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
5+
16
## 1.0.23
27

38
* Bumps com.android.tools.build:gradle to 8.12.1.

packages/quick_actions/quick_actions_android/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ android {
4242
}
4343

4444
compileOptions {
45-
sourceCompatibility = JavaVersion.VERSION_11
46-
targetCompatibility = JavaVersion.VERSION_11
45+
sourceCompatibility = JavaVersion.VERSION_17
46+
targetCompatibility = JavaVersion.VERSION_17
4747
}
4848

4949
testOptions {

packages/quick_actions/quick_actions_android/lib/src/messages.g.dart

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ class AndroidQuickActionsApi {
9797
BinaryMessenger? binaryMessenger,
9898
String messageChannelSuffix = '',
9999
}) : pigeonVar_binaryMessenger = binaryMessenger,
100-
pigeonVar_messageChannelSuffix =
101-
messageChannelSuffix.isNotEmpty ? '.$messageChannelSuffix' : '';
100+
pigeonVar_messageChannelSuffix = messageChannelSuffix.isNotEmpty
101+
? '.$messageChannelSuffix'
102+
: '';
102103
final BinaryMessenger? pigeonVar_binaryMessenger;
103104

104105
static const MessageCodec<Object?> pigeonChannelCodec = _PigeonCodec();
@@ -192,8 +193,9 @@ abstract class AndroidQuickActionsFlutterApi {
192193
BinaryMessenger? binaryMessenger,
193194
String messageChannelSuffix = '',
194195
}) {
195-
messageChannelSuffix =
196-
messageChannelSuffix.isNotEmpty ? '.$messageChannelSuffix' : '';
196+
messageChannelSuffix = messageChannelSuffix.isNotEmpty
197+
? '.$messageChannelSuffix'
198+
: '';
197199
{
198200
final BasicMessageChannel<Object?>
199201
pigeonVar_channel = BasicMessageChannel<Object?>(

packages/quick_actions/quick_actions_android/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: quick_actions_android
22
description: An implementation for the Android platform of the Flutter `quick_actions` plugin.
33
repository: https://github.com/flutter/packages/tree/main/packages/quick_actions/quick_actions_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
5-
version: 1.0.23
5+
version: 1.0.24
66

77
environment:
8-
sdk: ^3.7.0
9-
flutter: ">=3.29.0"
8+
sdk: ^3.9.0
9+
flutter: ">=3.35.0"
1010

1111
flutter:
1212
plugin:

0 commit comments

Comments
 (0)