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?
Here is my root
build.gradle.kts
buildscriptAnd I added the dependency in
commonMain
sourceSets for the shared module I haveimplementation("org.koin:koin-core:3.0.0-alpha-4")
While trying to build the project I get
It looks to me like the
jvm
version of the library is not released, and also I don't understand why mycore
library depends on thejvm
library. Am I doing something wrong?