781flyingdutchman / background_downloader

Flutter plugin for file downloads and uploads
Other
162 stars 76 forks source link

Build exception #368

Closed mdip226 closed 2 months ago

mdip226 commented 2 months ago

Describe the bug Project not compiling due to some missing dependency

To Reproduce Might have something to do with me updating my gradle plugins but I still thought I would post this.

Expected behavior A clean build

Logs

Launching lib/main.dart on sdk gphone16k x86 64 in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':background_downloader:compileDebugKotlin'.
> Error while evaluating property 'filteredArgumentsMap' of task ':background_downloader:compileDebugKotlin'.
   > Could not resolve all files for configuration ':background_downloader:kotlinCompilerPluginClasspathDebug'.
      > Could not find org.jetbrains.kotlin:kotlin-serialization-compiler-plugin-embeddable:1.7.10.
        Searched in the following locations:
          - https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-serialization-compiler-plugin-embeddable/1.7.10/kotlin-serialization-compiler-plugin-embeddable-1.7.10.pom
          - https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-serialization-compiler-plugin-embeddable/1.7.10/kotlin-serialization-compiler-plugin-embeddable-1.7.10.pom
          - https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-serialization-compiler-plugin-embeddable/1.7.10/kotlin-serialization-compiler-plugin-embeddable-1.7.10.pom
        Required by:
            project :background_downloader

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 8s
781flyingdutchman commented 2 months ago

You need to upgrade your kotlin version to 1.9.20

On Sat, Aug 31, 2024, 3:50 PM Matthew McCrea Dippel < @.***> wrote:

Describe the bug Project not compiling due to some missing dependency

To Reproduce Might have something to do with me updating my gradle plugins but I still thought I would post this.

Expected behavior A clean build

Logs If possible, include logs that capture the issue:

Launching lib/main.dart on sdk gphone16k x86 64 in debug mode...

FAILURE: Build failed with an exception.

BUILD FAILED in 8s

Code added to pubspec.yaml

Code

Additional context Add any other context about the problem here.

— Reply to this email directly, view it on GitHub https://github.com/781flyingdutchman/background_downloader/issues/368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5VCH2SOLEA6SLKQOLMHALZUJCCPAVCNFSM6AAAAABNOHWXROVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4TSMBXG44TGNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mdip226 commented 2 months ago

Great, thank you.