suparngp / kotlin-multiplatform-projects

Kotlin Multiplatform projects.
https://kmpdocs.suparnatural.com
MIT License
131 stars 9 forks source link

[BUG] Could not resolve suparnatural-kotlin-multiplatform:fs:1.1.0. #102

Open MaciejCmiel opened 3 years ago

MaciejCmiel commented 3 years ago

Describe the bug After Bintray was closed on 1st May I can't reach the library.

Could not resolve suparnatural-kotlin-multiplatform:fs:1.1.0.

To Reproduce Add library dependency to the project

"suparnatural-kotlin-multiplatform:fs:1.1.0"

or

"suparnatural-kotlin-multiplatform:fs-android:1.0.10"

Expected behavior

Stacktrace

* What went wrong:

Could not determine the dependencies of task ':[project]:[package]:compileDevDebugKotlin'.

> Could not resolve all files for configuration ':[project]:[package]:devDebugRuntimeClasspath'.

   > Could not resolve suparnatural-kotlin-multiplatform:fs:1.1.0.

     Required by:

         project :[project]:[package] > project :[project]:[package2]

      > Could not resolve suparnatural-kotlin-multiplatform:fs:1.1.0.

         > Could not get resource 'https://dl.bintray.com/kodein-framework/Kodein-DI/suparnatural-kotlin-multiplatform/fs/1.1.0/fs-1.1.0.pom'.

            > Could not GET 'https://dl.bintray.com/kodein-framework/Kodein-DI/suparnatural-kotlin-multiplatform/fs/1.1.0/fs-1.1.0.pom'. Received status code 403 from server: Forbidden

      > Could not resolve suparnatural-kotlin-multiplatform:fs:1.1.0.

         > Could not get resource 'https://dl.bintray.com/suparnatural/kotlin-multiplatform/suparnatural-kotlin-multiplatform/fs/1.1.0/fs-1.1.0.pom'.

            > Could not GET 'https://dl.bintray.com/suparnatural/kotlin-multiplatform/suparnatural-kotlin-multiplatform/fs/1.1.0/fs-1.1.0.pom'. Received status code 403 from server: Forbidden

version 1.0.10

* What went wrong:

Could not determine the dependencies of task ':[project]:[package]:compileDevDebugKotlin'.

> Could not resolve all files for configuration ':[project]:[package]:devDebugRuntimeClasspath'.

   > Could not resolve suparnatural-kotlin-multiplatform:fs-android:1.0.10.

     Required by:

         project :[project]:[package] > project :[project]:[package2]

      > Could not resolve suparnatural-kotlin-multiplatform:fs-android:1.0.10.

         > Could not get resource 'https://dl.bintray.com/kodein-framework/Kodein-DI/suparnatural-kotlin-multiplatform/fs-android/1.0.10/fs-android-1.0.10.pom'.

            > Could not GET 'https://dl.bintray.com/kodein-framework/Kodein-DI/suparnatural-kotlin-multiplatform/fs-android/1.0.10/fs-android-1.0.10.pom'. Received status code 403 from server: Forbidden

      > Could not resolve suparnatural-kotlin-multiplatform:fs-android:1.0.10.

         > Could not get resource 'https://dl.bintray.com/suparnatural/kotlin-multiplatform/suparnatural-kotlin-multiplatform/fs-android/1.0.10/fs-android-1.0.10.pom'.

            > Could not GET 'https://dl.bintray.com/suparnatural/kotlin-multiplatform/suparnatural-kotlin-multiplatform/fs-android/1.0.10/fs-android-1.0.10.pom'. Received status code 403 from server: Forbidden

   > Could not resolve suparnatural-kotlin-multiplatform:fs-metadata:1.0.10.

     Required by:

         project :onemeter-mobile-multiplatform:advertisingmonitor > project :onemeter-mobile-multiplatform:data

      > Could not resolve suparnatural-kotlin-multiplatform:fs-metadata:1.0.10.

         > Could not get resource 'https://dl.bintray.com/kodein-framework/Kodein-DI/suparnatural-kotlin-multiplatform/fs-metadata/1.0.10/fs-metadata-1.0.10.pom'.

            > Could not GET 'https://dl.bintray.com/kodein-framework/Kodein-DI/suparnatural-kotlin-multiplatform/fs-metadata/1.0.10/fs-metadata-1.0.10.pom'. Received status code 403 from server: Forbidden

      > Could not resolve suparnatural-kotlin-multiplatform:fs-metadata:1.0.10.

         > Could not get resource 'https://dl.bintray.com/suparnatural/kotlin-multiplatform/suparnatural-kotlin-multiplatform/fs-metadata/1.0.10/fs-metadata-1.0.10.pom'.

            > Could not GET 'https://dl.bintray.com/suparnatural/kotlin-multiplatform/suparnatural-kotlin-multiplatform/fs-metadata/1.0.10/fs-metadata-1.0.10.pom'. Received status code 403 from server: Forbidden

Version

1.0.10 and 1.1.0

Platforms affected:

suparngp commented 3 years ago

All the libs have been migrated to maven central. Try this setup. https://kmpdocs.suparnatural.com/fs/#setup

coderforlife commented 1 year ago

When placing

implementation("com.suparnatural.kotlin:fs:1.1.0")

and using maven central I get the following error:

:shared:iosSimulatorArm64Main: Could not resolve com.suparnatural.kotlin:fs:1.1.0.
Required by:
    project :shared

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

:shared:iosSimulatorArm64Test: Could not resolve com.suparnatural.kotlin:fs:1.1.0.
Required by:
    project :shared

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

It only happens for iOS simulator main and text, no other iOS or for Android. However, it seems to work still anyways (Android does work, haven't had a chance to test iOS yet).

khalid64927 commented 10 months ago

@coderforlife I got the same issue. seems like iOS Simulator Arm 64 metadata is missing.

`FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

BUILD FAILED in 711ms`