Sithira / FlutterRadioPlayer

Flutter Radio Player, A Plugin to handle streaming audio without a hassle
MIT License
139 stars 64 forks source link

Invalid kotlin-serialization-compiler-plugin-embeddable dependency #101

Closed titivermeesch closed 51 minutes ago

titivermeesch commented 2 hours ago

I recently tried to use the new v3 version of flutter_radio_player but when building the application I'm getting the following error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_radio_player:compileDebugKotlin'.
> Error while evaluating property 'filteredArgumentsMap' of task ':flutter_radio_player:compileDebugKotlin'
   > Could not resolve all files for configuration ':flutter_radio_player: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 :flutter_radio_player

* 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 22s

I see this dependency exists in maven central but is it possible the version used here is not being hosted by them anymore? I don't see 1.7.10 in maven repository

titivermeesch commented 2 hours ago

Or maybe it's an issue with my setup, but I didn't have this issue on v2