Open tungt84 opened 3 months ago
This just requires main branch being published Current workaround is to specify git dependency
pdfx:
git:
url: https://github.com/ScerIO/packages.flutter.git
ref: b3ddbb8b856b52bf51a196a9fb89ac61ba7a2cce # https://github.com/ScerIO/packages.flutter/pull/513
path: packages/pdfx/
@SergeShkurko @SergeShkurko Can someone finally push this to pub dev ....
for fuck sake
@emakar where do you specify this dependency?
@emakar where do you specify this dependency?
Describe the bug Can't build with flutter 3.22.2
FAILURE: Build failed with an exception.
To Reproduce Steps to reproduce the behavior:
Expected behavior FAILURE: Build failed with an exception.
What went wrong: 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 ':pdfx' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50
Try:
BUILD FAILED in 2s Running Gradle task 'assembleRelease'... 3.6s Gradle task assembleRelease failed with exit code 1
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information): flutter doctor -v [β] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-x64, locale en-VN) β’ Flutter version 3.22.2 on channel stable at /Users/tungt/development/flutter β’ Upstream repository https://github.com/flutter/flutter.git β’ Framework revision 761747bfc5 (3 weeks ago), 2024-06-05 22:15:13 +0200 β’ Engine revision edd8546116 β’ Dart version 3.4.3 β’ DevTools version 2.34.3
[β] Android toolchain - develop for Android devices (Android SDK version 35.0.0) β’ Android SDK at /Users/tungt/Library/Android/sdk β’ Platform android-35, build-tools 35.0.0 β’ Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java β’ Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105) β’ All Android licenses accepted.
[β] Xcode - develop for iOS and macOS (Xcode 15.4) β’ Xcode at /Applications/Xcode.app/Contents/Developer β’ Build 15F31d β’ CocoaPods version 1.15.2
[β] Chrome - develop for the web β’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[β] Android Studio (version 2024.1) β’ Android Studio at /Applications/Android Studio.app/Contents β’ Flutter plugin can be installed from: π¨ https://plugins.jetbrains.com/plugin/9212-flutter β’ Dart plugin can be installed from: π¨ https://plugins.jetbrains.com/plugin/6351-dart β’ Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
[β] Connected device (2 available) β’ macOS (desktop) β’ macos β’ darwin-x64 β’ macOS 14.5 23F79 darwin-x64 β’ Chrome (web) β’ chrome β’ web-javascript β’ Google Chrome 126.0.6478.115
[β] Network resources β’ All expected network resources are available.
β’ No issues found!