Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/camera/camera_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.10.12+1

* Updates Robolectric to 4.17 and adds the JVM arguments it requires for unit tests.

## 0.10.12

* Adds support for custom video output path in video recording.
Expand Down
18 changes: 17 additions & 1 deletion packages/camera/camera_android/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,22 @@ android {
// sets the heap size to a size large enough to run the robolectric tests across
// multiple SDK levels.
it.jvmArgs("-Xmx4G")
// JDK 17+ blocks reflective access to JDK internals by default. Starting
// with 4.17, Robolectric's test environment setup reflects into
// jdk.internal.access, so these are required. This is the flag set
// recommended by Robolectric, see
// https://robolectric.org/getting-started/#running-with-java-17-and-higher
it.jvmArgs(
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED",
"--add-opens=java.base/java.io=ALL-UNNAMED",
"--add-opens=java.base/java.net=ALL-UNNAMED",
"--add-opens=java.base/java.security=ALL-UNNAMED",
"--add-opens=java.base/java.text=ALL-UNNAMED",
"--add-opens=java.base/jdk.internal.access=ALL-UNNAMED",
"--add-opens=java.desktop/java.awt.font=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
)
}
}
}
Expand All @@ -76,5 +92,5 @@ dependencies {
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.23.0")
testImplementation("androidx.test:core:1.7.0")
testImplementation("org.robolectric:robolectric:4.16")
testImplementation("org.robolectric:robolectric:4.17")
}
2 changes: 1 addition & 1 deletion packages/camera/camera_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Android implementation of the camera plugin.
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22

version: 0.10.12
version: 0.10.12+1

environment:
sdk: ^3.11.0
Expand Down
4 changes: 4 additions & 0 deletions packages/camera/camera_android_camerax/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.7.5+1

* Updates Robolectric to 4.17 and adds the JVM arguments it requires for unit tests.

## 0.7.5

* Adds support for custom video output path in video recording.
Expand Down
18 changes: 17 additions & 1 deletion packages/camera/camera_android_camerax/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,22 @@ android {
// sets the heap size to a size large enough to run the robolectric tests across
// multiple SDK levels.
it.jvmArgs("-Xmx1G")
// JDK 17+ blocks reflective access to JDK internals by default. Starting
// with 4.17, Robolectric's test environment setup reflects into
// jdk.internal.access, so these are required. This is the flag set
// recommended by Robolectric, see
// https://robolectric.org/getting-started/#running-with-java-17-and-higher
it.jvmArgs(
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED",
"--add-opens=java.base/java.io=ALL-UNNAMED",
"--add-opens=java.base/java.net=ALL-UNNAMED",
"--add-opens=java.base/java.security=ALL-UNNAMED",
"--add-opens=java.base/java.text=ALL-UNNAMED",
"--add-opens=java.base/jdk.internal.access=ALL-UNNAMED",
"--add-opens=java.desktop/java.awt.font=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
)
}
}
}
Expand All @@ -86,5 +102,5 @@ dependencies {
testImplementation("org.mockito:mockito-core:5.23.0")
testImplementation("org.mockito:mockito-inline:5.2.0")
testImplementation("androidx.test:core:1.7.0")
testImplementation("org.robolectric:robolectric:4.16")
testImplementation("org.robolectric:robolectric:4.17")
}
2 changes: 1 addition & 1 deletion packages/camera/camera_android_camerax/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: camera_android_camerax
description: Android implementation of the camera plugin using the CameraX library.
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android_camerax
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
version: 0.7.5
version: 0.7.5+1

environment:
sdk: ^3.12.0
Expand Down
3 changes: 2 additions & 1 deletion packages/file_selector/file_selector_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 0.5.2+12

* Updates Robolectric to 4.17 and adds the JVM arguments it requires for unit tests.
* Updates minimum supported SDK version to Flutter 3.41/Dart 3.11.

## 0.5.2+11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ android {
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.23.0")
testImplementation("androidx.test:core:1.7.0")
testImplementation("org.robolectric:robolectric:4.16")
testImplementation("org.robolectric:robolectric:4.17")
}

lint {
Expand All @@ -68,6 +68,22 @@ android {
events("passed", "skipped", "failed", "standardOut", "standardError")
showStandardStreams = true
}
// JDK 17+ blocks reflective access to JDK internals by default. Starting
// with 4.17, Robolectric's test environment setup reflects into
// jdk.internal.access, so these are required. This is the flag set
// recommended by Robolectric, see
// https://robolectric.org/getting-started/#running-with-java-17-and-higher
it.jvmArgs(
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED",
"--add-opens=java.base/java.io=ALL-UNNAMED",
"--add-opens=java.base/java.net=ALL-UNNAMED",
"--add-opens=java.base/java.security=ALL-UNNAMED",
"--add-opens=java.base/java.text=ALL-UNNAMED",
"--add-opens=java.base/jdk.internal.access=ALL-UNNAMED",
"--add-opens=java.desktop/java.awt.font=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/file_selector/file_selector_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: file_selector_android
description: Android implementation of the file_selector package.
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.5.2+11
version: 0.5.2+12

environment:
sdk: ^3.12.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.20.1

* Updates Robolectric to 4.17 and adds the JVM arguments it requires for unit tests.

## 2.20.0

* Adds support for tapping points of interest on the map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ android {
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.23.0")
testImplementation("androidx.test:core:1.7.0")
testImplementation("org.robolectric:robolectric:4.16")
testImplementation("org.robolectric:robolectric:4.17")
}

compileOptions {
Expand All @@ -79,6 +79,22 @@ android {
// sets the heap size to a size large enough to run the robolectric tests across
// multiple SDK levels.
it.jvmArgs("-Xmx4G")
// JDK 17+ blocks reflective access to JDK internals by default. Starting
// with 4.17, Robolectric's test environment setup reflects into
// jdk.internal.access, so these are required. This is the flag set
// recommended by Robolectric, see
// https://robolectric.org/getting-started/#running-with-java-17-and-higher
it.jvmArgs(
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED",
"--add-opens=java.base/java.io=ALL-UNNAMED",
"--add-opens=java.base/java.net=ALL-UNNAMED",
"--add-opens=java.base/java.security=ALL-UNNAMED",
"--add-opens=java.base/java.text=ALL-UNNAMED",
"--add-opens=java.base/jdk.internal.access=ALL-UNNAMED",
"--add-opens=java.desktop/java.awt.font=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter_android
description: Android implementation of the google_maps_flutter plugin.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: 2.20.0
version: 2.20.1

environment:
sdk: ^3.12.0
Expand Down
3 changes: 2 additions & 1 deletion packages/image_picker/image_picker_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 0.8.13+24

* Updates Robolectric to 4.17 and adds the JVM arguments it requires for unit tests.
* Updates minimum supported SDK version to Flutter 3.41/Dart 3.11.

## 0.8.13+23
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ android {
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.23.0")
testImplementation("androidx.test:core:1.7.0")
testImplementation("org.robolectric:robolectric:4.16")
testImplementation("org.robolectric:robolectric:4.17")
}

compileOptions {
Expand All @@ -73,6 +73,22 @@ android {
events("passed", "skipped", "failed", "standardOut", "standardError")
showStandardStreams = true
}
// JDK 17+ blocks reflective access to JDK internals by default. Starting
// with 4.17, Robolectric's test environment setup reflects into
// jdk.internal.access, so these are required. This is the flag set
// recommended by Robolectric, see
// https://robolectric.org/getting-started/#running-with-java-17-and-higher
it.jvmArgs(
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED",
"--add-opens=java.base/java.io=ALL-UNNAMED",
"--add-opens=java.base/java.net=ALL-UNNAMED",
"--add-opens=java.base/java.security=ALL-UNNAMED",
"--add-opens=java.base/java.text=ALL-UNNAMED",
"--add-opens=java.base/jdk.internal.access=ALL-UNNAMED",
"--add-opens=java.desktop/java.awt.font=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/image_picker/image_picker_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: image_picker_android
description: Android implementation of the image_picker plugin.
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
version: 0.8.13+23
version: 0.8.13+24

environment:
sdk: ^3.12.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 0.5.3+1

* Updates Robolectric to 4.17 and adds the JVM arguments it requires for unit tests.
* Updates minimum supported SDK version to Flutter 3.41/Dart 3.11.

## 0.5.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,22 @@ android {
events("passed", "skipped", "failed", "standardOut", "standardError")
showStandardStreams = true
}
// JDK 17+ blocks reflective access to JDK internals by default. Starting
// with 4.17, Robolectric's test environment setup reflects into
// jdk.internal.access, so these are required. This is the flag set
// recommended by Robolectric, see
// https://robolectric.org/getting-started/#running-with-java-17-and-higher
it.jvmArgs(
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED",
"--add-opens=java.base/java.io=ALL-UNNAMED",
"--add-opens=java.base/java.net=ALL-UNNAMED",
"--add-opens=java.base/java.security=ALL-UNNAMED",
"--add-opens=java.base/java.text=ALL-UNNAMED",
"--add-opens=java.base/jdk.internal.access=ALL-UNNAMED",
"--add-opens=java.desktop/java.awt.font=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
)
}
}
}
Expand All @@ -78,7 +94,7 @@ dependencies {
testImplementation("org.json:json:20251224")
testImplementation("org.mockito:mockito-core:5.23.0")
testImplementation("androidx.test:core:1.7.0")
testImplementation("org.robolectric:robolectric:4.16")
testImplementation("org.robolectric:robolectric:4.17")
androidTestImplementation("androidx.test:runner:1.7.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.7.0")
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: An implementation for the Android platform of the Flutter `in_app_p
repository: https://github.com/flutter/packages/tree/main/packages/in_app_purchase/in_app_purchase_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22

version: 0.5.3
version: 0.5.3+1

environment:
sdk: ^3.12.0
Expand Down
3 changes: 2 additions & 1 deletion packages/local_auth/local_auth_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 2.2.1

* Updates Robolectric to 4.17 and adds the JVM arguments it requires for unit tests.
* Updates minimum supported SDK version to Flutter 3.41/Dart 3.11.

## 2.2.0
Expand Down
18 changes: 17 additions & 1 deletion packages/local_auth/local_auth_android/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,22 @@ android {
events("passed", "skipped", "failed", "standardOut", "standardError")
showStandardStreams = true
}
// JDK 17+ blocks reflective access to JDK internals by default. Starting
// with 4.17, Robolectric's test environment setup reflects into
// jdk.internal.access, so these are required. This is the flag set
// recommended by Robolectric, see
// https://robolectric.org/getting-started/#running-with-java-17-and-higher
it.jvmArgs(
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED",
"--add-opens=java.base/java.io=ALL-UNNAMED",
"--add-opens=java.base/java.net=ALL-UNNAMED",
"--add-opens=java.base/java.security=ALL-UNNAMED",
"--add-opens=java.base/java.text=ALL-UNNAMED",
"--add-opens=java.base/jdk.internal.access=ALL-UNNAMED",
"--add-opens=java.desktop/java.awt.font=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
)
}
}
}
Expand All @@ -73,7 +89,7 @@ dependencies {
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.23.0")
testImplementation("org.mockito.kotlin:mockito-kotlin:6.3.0")
testImplementation("org.robolectric:robolectric:4.16")
testImplementation("org.robolectric:robolectric:4.17")
androidTestImplementation("androidx.test:runner:1.7.0")
androidTestImplementation("androidx.test:rules:1.7.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.7.0")
Expand Down
2 changes: 1 addition & 1 deletion packages/local_auth/local_auth_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: local_auth_android
description: Android implementation of the local_auth plugin.
repository: https://github.com/flutter/packages/tree/main/packages/local_auth/local_auth_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 2.2.0
version: 2.2.1

environment:
sdk: ^3.12.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 2.4.29

* Updates Robolectric to 4.17 and adds the JVM arguments it requires for unit tests.
* Updates minimum supported SDK version to Flutter 3.41/Dart 3.11.

## 2.4.28
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ android {
testImplementation("junit:junit:4.13.2")
testImplementation("androidx.test:core-ktx:1.7.0")
testImplementation("androidx.test.ext:junit-ktx:1.3.0")
testImplementation("org.robolectric:robolectric:4.16")
testImplementation("org.robolectric:robolectric:4.17")
testImplementation("org.mockito:mockito-inline:5.2.0")
testImplementation("io.mockk:mockk:1.14.11")
}
Expand All @@ -80,6 +80,22 @@ android {
events("passed", "skipped", "failed", "standardOut", "standardError")
showStandardStreams = true
}
// JDK 17+ blocks reflective access to JDK internals by default. Starting
// with 4.17, Robolectric's test environment setup reflects into
// jdk.internal.access, so these are required. This is the flag set
// recommended by Robolectric, see
// https://robolectric.org/getting-started/#running-with-java-17-and-higher
it.jvmArgs(
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED",
"--add-opens=java.base/java.io=ALL-UNNAMED",
"--add-opens=java.base/java.net=ALL-UNNAMED",
"--add-opens=java.base/java.security=ALL-UNNAMED",
"--add-opens=java.base/java.text=ALL-UNNAMED",
"--add-opens=java.base/jdk.internal.access=ALL-UNNAMED",
"--add-opens=java.desktop/java.awt.font=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: shared_preferences_android
description: Android implementation of the shared_preferences plugin
repository: https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferences%22
version: 2.4.28
version: 2.4.29

environment:
sdk: ^3.12.0
Expand Down
3 changes: 2 additions & 1 deletion packages/url_launcher/url_launcher_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 6.3.34

* Updates Robolectric to 4.17 and adds the JVM arguments it requires for unit tests.
* Updates minimum supported SDK version to Flutter 3.41/Dart 3.11.

## 6.3.33
Expand Down
Loading
Loading