Skip to content

Commit ee8f3b5

Browse files
authored
[espresso] updates build files to use JVM 17 (#10162)
Update minimum flutter version to 3.35 to force a minimum AGP version to something that requires java 17. part of flutter/flutter#176027 ## Pre-Review Checklist
1 parent d3ef88b commit ee8f3b5

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

packages/espresso/CHANGELOG.md

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

38
* Bumps okhttp, junit, and truth dependencies.

packages/espresso/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ android {
3131
}
3232

3333
compileOptions {
34-
sourceCompatibility = JavaVersion.VERSION_11
35-
targetCompatibility = JavaVersion.VERSION_11
34+
sourceCompatibility = JavaVersion.VERSION_17
35+
targetCompatibility = JavaVersion.VERSION_17
3636
}
3737

3838
lintOptions {

packages/espresso/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ description: Java classes for testing Flutter apps using Espresso.
33
Allows driving Flutter widgets from a native Espresso test.
44
repository: https://github.com/flutter/packages/tree/main/packages/espresso
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+espresso%22
6-
version: 0.4.0+14
6+
version: 0.4.0+15
77

88
environment:
9-
sdk: ^3.7.0
10-
flutter: ">=3.29.0"
9+
sdk: ^3.9.0
10+
flutter: ">=3.35.0"
1111

1212
flutter:
1313
plugin:

0 commit comments

Comments
 (0)