Kotlin/kotlin-wasm-examples

Could not find org.jetbrains.compose.runtime:runtime:1.5.2.1-Beta

Equidamoid opened this issue · 3 comments

I'm trying to build compose-imageviewer. Following the instruction in the readme, I run ./gradlew :desktopApp:run and get the following errors:

* What went wrong:
Execution failed for task ':shared:compileKotlinDesktop'.
> Could not resolve all files for configuration ':shared:desktopCompileClasspath'.
   > Could not find org.jetbrains.compose.runtime:runtime:1.5.2.1-Beta.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/compose/runtime/runtime/1.5.2.1-Beta/runtime-1.5.2.1-Beta.pom
       - https://repo.maven.apache.org/maven2/org/jetbrains/compose/runtime/runtime/1.5.2.1-Beta/runtime-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/compose/runtime/runtime/1.5.2.1-Beta/runtime-1.5.2.1-Beta.pom
       - file:/home/equi/.m2/repository/org/jetbrains/compose/runtime/runtime/1.5.2.1-Beta/runtime-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/org/jetbrains/compose/runtime/runtime/1.5.2.1-Beta/runtime-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/compose/runtime/runtime/1.5.2.1-Beta/runtime-1.5.2.1-Beta.pom
     Required by:
         project :shared
   > Could not find org.jetbrains.compose.foundation:foundation:1.5.2.1-Beta.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/compose/foundation/foundation/1.5.2.1-Beta/foundation-1.5.2.1-Beta.pom
       - https://repo.maven.apache.org/maven2/org/jetbrains/compose/foundation/foundation/1.5.2.1-Beta/foundation-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/compose/foundation/foundation/1.5.2.1-Beta/foundation-1.5.2.1-Beta.pom
       - file:/home/equi/.m2/repository/org/jetbrains/compose/foundation/foundation/1.5.2.1-Beta/foundation-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/org/jetbrains/compose/foundation/foundation/1.5.2.1-Beta/foundation-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/compose/foundation/foundation/1.5.2.1-Beta/foundation-1.5.2.1-Beta.pom
     Required by:
         project :shared
   > Could not find org.jetbrains.compose.material:material:1.5.2.1-Beta.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/compose/material/material/1.5.2.1-Beta/material-1.5.2.1-Beta.pom
       - https://repo.maven.apache.org/maven2/org/jetbrains/compose/material/material/1.5.2.1-Beta/material-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/compose/material/material/1.5.2.1-Beta/material-1.5.2.1-Beta.pom
       - file:/home/equi/.m2/repository/org/jetbrains/compose/material/material/1.5.2.1-Beta/material-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/org/jetbrains/compose/material/material/1.5.2.1-Beta/material-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/compose/material/material/1.5.2.1-Beta/material-1.5.2.1-Beta.pom
     Required by:
         project :shared
   > Could not find org.jetbrains.compose.material3:material3:1.5.2.1-Beta.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/compose/material3/material3/1.5.2.1-Beta/material3-1.5.2.1-Beta.pom
       - https://repo.maven.apache.org/maven2/org/jetbrains/compose/material3/material3/1.5.2.1-Beta/material3-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/compose/material3/material3/1.5.2.1-Beta/material3-1.5.2.1-Beta.pom
       - file:/home/equi/.m2/repository/org/jetbrains/compose/material3/material3/1.5.2.1-Beta/material3-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/org/jetbrains/compose/material3/material3/1.5.2.1-Beta/material3-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/compose/material3/material3/1.5.2.1-Beta/material3-1.5.2.1-Beta.pom
     Required by:
         project :shared
   > Could not find org.jetbrains.compose.components:components-resources:1.5.2.1-Beta.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/compose/components/components-resources/1.5.2.1-Beta/components-resources-1.5.2.1-Beta.pom
       - https://repo.maven.apache.org/maven2/org/jetbrains/compose/components/components-resources/1.5.2.1-Beta/components-resources-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/compose/components/components-resources/1.5.2.1-Beta/components-resources-1.5.2.1-Beta.pom
       - file:/home/equi/.m2/repository/org/jetbrains/compose/components/components-resources/1.5.2.1-Beta/components-resources-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/org/jetbrains/compose/components/components-resources/1.5.2.1-Beta/components-resources-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/compose/components/components-resources/1.5.2.1-Beta/components-resources-1.5.2.1-Beta.pom
     Required by:
         project :shared
   > Could not find org.jetbrains.compose.desktop:desktop:1.5.2.1-Beta.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/compose/desktop/desktop/1.5.2.1-Beta/desktop-1.5.2.1-Beta.pom
       - https://repo.maven.apache.org/maven2/org/jetbrains/compose/desktop/desktop/1.5.2.1-Beta/desktop-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/compose/desktop/desktop/1.5.2.1-Beta/desktop-1.5.2.1-Beta.pom
       - file:/home/equi/.m2/repository/org/jetbrains/compose/desktop/desktop/1.5.2.1-Beta/desktop-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/org/jetbrains/compose/desktop/desktop/1.5.2.1-Beta/desktop-1.5.2.1-Beta.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/compose/desktop/desktop/1.5.2.1-Beta/desktop-1.5.2.1-Beta.pom
     Required by:
         project :shared

eymar commented

This should be fixed once #29 is merged.
You can give it a try in that branch.

bashor commented

Please fetch recent changes and rechek it.

The error is gone indeed.