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

Unable to build locally when using korlibs from mavenLocal 999.0.0.999 #2275

Open
Kietyo opened this issue Jul 23, 2024 · 1 comment
Open

Comments

@Kietyo
Copy link
Contributor

Kietyo commented Jul 23, 2024

* What went wrong:
Could not determine the dependencies of task ':korge-core:jsPackageJson'.
> Could not resolve all dependencies for configuration ':korge-core:jsNpmAggregated'.
   > Could not find com.soywiz:korlibs-all:999.0.0.999.
     Searched in the following locations:
       - file:/C:/Users/kietm/.m2/repository/com/soywiz/korlibs-all/999.0.0.999/korlibs-all-999.0.0.999.pom
       - https://repo.maven.apache.org/maven2/com/soywiz/korlibs-all/999.0.0.999/korlibs-all-999.0.0.999.pom
       - https://dl.google.com/dl/android/maven2/com/soywiz/korlibs-all/999.0.0.999/korlibs-all-999.0.0.999.pom
       - https://plugins.gradle.org/m2/com/soywiz/korlibs-all/999.0.0.999/korlibs-all-999.0.0.999.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap/com/soywiz/korlibs-all/999.0.0.999/korlibs-all-999.0.0.999.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/kotlin/temporary/com/soywiz/korlibs-all/999.0.0.999/korlibs-all-999.0.0.999.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/com/soywiz/korlibs-all/999.0.0.999/korlibs-all-999.0.0.999.pom
       - https://maven.pkg.jetbrains.space/public/p/kotlinx-coroutines/maven/com/soywiz/korlibs-all/999.0.0.999/korlibs-all-999.0.0.999.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/soywiz/korlibs-all/999.0.0.999/korlibs-all-999.0.0.999.pom
       - https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/com/soywiz/korlibs-all/999.0.0.999/korlibs-all-999.0.0.999.pom
     Required by:
         project :korge-core

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1m 46s
3 actionable tasks: 2 executed, 1 up-to-date
9:25:49 PM: Execution finished 'publishToMavenLocal'.

I see that you've added all in korlibs:

https://github.com/korlibs/korlibs

But running publishToMavenLocal does not publish korlibs-all.

It's not bolded in the IDE which tells me it's not included as a project:

image
@soywiz
Copy link
Member

soywiz commented Jul 23, 2024

You have to:

cd korlibs
cd all
./gradlew publishToMavenLocal

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

No branches or pull requests

2 participants