ViacheslavSomin / device_display_brightness

BSD 3-Clause "New" or "Revised" License
9 stars 11 forks source link

Update latest codes to pub.dev #4

Open jvk75 opened 9 months ago

jvk75 commented 9 months ago

Current available version 0.0.6 gives error when building

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':device_display_brightness' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

In the main branch kotlin version has been updated but it is not available via pub.dev

MikiVanousek commented 7 months ago

In the meantime, it is possible to use the Github version by changing the following line in pubspec.yaml and running flutter pub upgrade.

-  device_display_brightness: ^0.0.6
+  device_display_brightness:
+    git:
+      url: https://github.com/ViacheslavSomin/device_display_brightness