rmtmckenzie / flutter_native_device_orientation

Native device orientation plugin for flutter.
MIT License
75 stars 63 forks source link

incompatible with Gradle 9.0 #73

Open victorcode1 opened 2 weeks ago

victorcode1 commented 2 weeks ago

Task :native_device_orientation:testDebugUnitTest

com.github.rmtmckenzie.native_device_orientation.NativeDeviceOrientationPluginTest > onMethodCall_getPlatformVersion_returnsExpectedValue FAILED org.mockito.exceptions.verification.WantedButNotInvoked at NativeDeviceOrientationPluginTest.java:27

1 test completed, 1 failed

Task :native_device_orientation:testDebugUnitTest FAILED

FAILURE: Build failed with an exception.

/native_device_orientation/reports/tests/testDebugUnitTest/index.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

rmtmckenzie commented 2 weeks ago

Whoops I should remove that test, it's just in the default code generated with the plugin. I'm probably not going to be able to get to it for a week or two but will accept a PR.