diff --git a/packages/pigeon/example/native_interop_app/pubspec.yaml b/packages/pigeon/example/native_interop_app/pubspec.yaml index c7d25442cab..98b1d5b0d9e 100644 --- a/packages/pigeon/example/native_interop_app/pubspec.yaml +++ b/packages/pigeon/example/native_interop_app/pubspec.yaml @@ -15,12 +15,18 @@ dependencies: dev_dependencies: build_runner: ^2.1.10 - ffigen: ^22.0.0 + # TODO(QuncCccccc): Remove the upper bound once swiftgen supports ffigen + # 22.1.0, which removed `defaultCompilerOpts`. + # https://github.com/dart-lang/native/issues/3723 + ffigen: ">=22.0.0 <22.1.0" flutter_test: sdk: flutter integration_test: sdk: flutter - jnigen: ^1.0.0 + # TODO(QuncCccccc): Remove the upper bound and regenerate the JNI bindings + # with jnigen 1.0.1+, along with removing the ffigen pin above. + # https://github.com/dart-lang/native/issues/3723 + jnigen: ">=1.0.0 <1.0.1" logging: ^1.3.0 pigeon: path: ../../ diff --git a/packages/pigeon/platform_tests/shared_test_plugin_code/pubspec.yaml b/packages/pigeon/platform_tests/shared_test_plugin_code/pubspec.yaml index 0abf98247c4..ff02ff522d1 100644 --- a/packages/pigeon/platform_tests/shared_test_plugin_code/pubspec.yaml +++ b/packages/pigeon/platform_tests/shared_test_plugin_code/pubspec.yaml @@ -25,6 +25,12 @@ dependencies: objective_c: ^9.5.0 dev_dependencies: - ffigen: ^22.0.0 - jnigen: ^1.0.0 + # TODO(QuncCccccc): Remove the upper bound once swiftgen supports ffigen + # 22.1.0, which removed `defaultCompilerOpts`. + # https://github.com/dart-lang/native/issues/3723 + ffigen: ">=22.0.0 <22.1.0" + # TODO(QuncCccccc): Remove the upper bound and regenerate the JNI bindings + # with jnigen 1.0.1+, along with removing the ffigen pin above. + # https://github.com/dart-lang/native/issues/3723 + jnigen: ">=1.0.0 <1.0.1" leak_tracker: any \ No newline at end of file diff --git a/packages/pigeon/platform_tests/test_plugin/example/pubspec.yaml b/packages/pigeon/platform_tests/test_plugin/example/pubspec.yaml index 9e39b0fd968..13dd16aa340 100644 --- a/packages/pigeon/platform_tests/test_plugin/example/pubspec.yaml +++ b/packages/pigeon/platform_tests/test_plugin/example/pubspec.yaml @@ -18,12 +18,18 @@ dependencies: path: ../ dev_dependencies: - ffigen: ^22.0.0 + # TODO(QuncCccccc): Remove the upper bound once swiftgen supports ffigen + # 22.1.0, which removed `defaultCompilerOpts`. + # https://github.com/dart-lang/native/issues/3723 + ffigen: ">=22.0.0 <22.1.0" flutter_test: sdk: flutter integration_test: sdk: flutter - jnigen: ^1.0.0 + # TODO(QuncCccccc): Remove the upper bound and regenerate the JNI bindings + # with jnigen 1.0.1+, along with removing the ffigen pin above. + # https://github.com/dart-lang/native/issues/3723 + jnigen: ">=1.0.0 <1.0.1" logging: ^1.3.0 pigeon: path: ../../.. diff --git a/packages/pigeon/pubspec.yaml b/packages/pigeon/pubspec.yaml index e872c7df183..766b2eeae45 100644 --- a/packages/pigeon/pubspec.yaml +++ b/packages/pigeon/pubspec.yaml @@ -21,9 +21,15 @@ dependencies: dev_dependencies: ffi: ^2.2.0 - ffigen: ^22.0.0 + # TODO(QuncCccccc): Remove the upper bound once swiftgen supports ffigen + # 22.1.0, which removed `defaultCompilerOpts`. + # https://github.com/dart-lang/native/issues/3723 + ffigen: ">=22.0.0 <22.1.0" jni: ^1.0.3 - jnigen: ^1.0.0 + # TODO(QuncCccccc): Remove the upper bound and regenerate the JNI bindings + # with jnigen 1.0.1+, along with removing the ffigen pin above. + # https://github.com/dart-lang/native/issues/3723 + jnigen: ">=1.0.0 <1.0.1" objective_c: ^9.6.0 swift2objc: ^0.3.0 swiftgen: ^0.2.0