supabase-community / supabase-kt

A Kotlin Multiplatform Client for Supabase.
https://supabase.com/docs/reference/kotlin/introduction
MIT License
425 stars 38 forks source link

[Bug]: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. #201

Closed ferhatwi closed 1 year ago

ferhatwi commented 1 year ago

General Info

Version(s)

1.0.4

Target(s)

Android

What happened? (include your code)

BUILD FAILED when building app. Works fine on 1.0.3

Steps To Reproduce (optional)

No response

Relevant log output (optional)

> Task :app:createDebugVariantModel UP-TO-DATE
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :app:checkDebugAarMetadata FAILED
> Task :app:generateDebugResValues UP-TO-DATE
> Task :app:mapDebugSourceSetPaths FAILED
> Task :app:generateDebugResources UP-TO-DATE
> Task :app:mergeDebugResources FAILED
> Task :app:packageDebugResources UP-TO-DATE
> Task :app:parseDebugLocalResources UP-TO-DATE
> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :app:extractDeepLinksDebug UP-TO-DATE
> Task :app:processDebugMainManifest FAILED
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :app:mergeDebugShaders UP-TO-DATE
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets FAILED
> Task :app:desugarDebugFileDependencies FAILED
> Task :app:processDebugJavaRes NO-SOURCE
> Task :app:checkDebugDuplicateClasses FAILED
> Task :app:mergeDebugJniLibFolders UP-TO-DATE
> Task :app:mergeDebugNativeLibs FAILED
> Task :app:validateSigningDebug UP-TO-DATE
> Task :app:writeDebugAppMetadata UP-TO-DATE
> Task :app:writeDebugSigningConfigVersions UP-TO-DATE

FAILURE: Build completed with 8 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find io.ktor:ktor-client-core:2.3.2-eap-692.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/ktor/ktor-client-core/2.3.2-eap-692/ktor-client-core-2.3.2-eap-692.pom
       - https://repo.maven.apache.org/maven2/io/ktor/ktor-client-core/2.3.2-eap-692/ktor-client-core-2.3.2-eap-692.pom
     Required by:
         project :app > io.ktor:ktor-client-cio:2.3.1 > io.ktor:ktor-client-cio-jvm:2.3.1
   > Could not find io.ktor:ktor-client-core:2.3.2-eap-692.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/ktor/ktor-client-core/2.3.2-eap-692/ktor-client-core-2.3.2-eap-692.pom
       - https://repo.maven.apache.org/maven2/io/ktor/ktor-client-core/2.3.2-eap-692/ktor-client-core-2.3.2-eap-692.pom
     Required by:
         project :app > io.github.jan-tennert.supabase:gotrue-kt:1.0.4 > io.github.jan-tennert.supabase:gotrue-kt-android-debug:1.0.4 > io.github.jan-tennert.supabase:supabase-kt:1.0.4 > io.github.jan-tennert.supabase:supabase-kt-android-debug:1.0.4
   > Could not find io.ktor:ktor-client-content-negotiation:2.3.2-eap-692.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/ktor/ktor-client-content-negotiation/2.3.2-eap-692/ktor-client-content-negotiation-2.3.2-eap-692.pom
       - https://repo.maven.apache.org/maven2/io/ktor/ktor-client-content-negotiation/2.3.2-eap-692/ktor-client-content-negotiation-2.3.2-eap-692.pom
     Required by:
         project :app > io.github.jan-tennert.supabase:gotrue-kt:1.0.4 > io.github.jan-tennert.supabase:gotrue-kt-android-debug:1.0.4 > io.github.jan-tennert.supabase:supabase-kt:1.0.4 > io.github.jan-tennert.supabase:supabase-kt-android-debug:1.0.4
   ...
   ...
   ...

==============================================================================

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
20 actionable tasks: 8 executed, 12 up-to-date
jan-tennert commented 1 year ago

Forgot to add you need this repository for the ktor version: https://maven.pkg.jetbrains.space/public/p/ktor/eap Moved the release to pre-releases for now, but thank you!