Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find org.koin:koin-core-jvm:3.0.0-alpha-4 #139

Closed
petarmarijanovicfive opened this issue Oct 14, 2020 · 1 comment
Closed

Could not find org.koin:koin-core-jvm:3.0.0-alpha-4 #139

petarmarijanovicfive opened this issue Oct 14, 2020 · 1 comment

Comments

@petarmarijanovicfive
Copy link

Here is my root build.gradle.kts buildscript

    repositories {
        gradlePluginPortal()
        jcenter()
        google()
        mavenCentral()

        maven(url = "https://dl.bintray.com/ekito/koin")
    }

And I added the dependency in commonMain sourceSets for the shared module I have
implementation("org.koin:koin-core:3.0.0-alpha-4")

While trying to build the project I get

Execution failed for task ':androidApp:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':androidApp:debugRuntimeClasspath'.
   > Could not find org.koin:koin-core-jvm:3.0.0-alpha-4.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/org/koin/koin-core-jvm/3.0.0-alpha-4/koin-core-jvm-3.0.0-alpha-4.pom
       - https://dl.google.com/dl/android/maven2/org/koin/koin-core-jvm/3.0.0-alpha-4/koin-core-jvm-3.0.0-alpha-4.pom
       - https://jcenter.bintray.com/org/koin/koin-core-jvm/3.0.0-alpha-4/koin-core-jvm-3.0.0-alpha-4.pom
       - https://repo.maven.apache.org/maven2/org/koin/koin-core-jvm/3.0.0-alpha-4/koin-core-jvm-3.0.0-alpha-4.pom
     Required by:
         project :androidApp > project :shared > org.koin:koin-core:3.0.0-alpha-4

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

It looks to me like the jvm version of the library is not released, and also I don't understand why my core library depends on the jvm library. Am I doing something wrong?

@petarmarijanovicfive
Copy link
Author

I wanted to raise this issue on the Koin project :) Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant