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

Kproject regression in 5.4.0 #2223

Open
soywiz opened this issue Apr 23, 2024 Discussed in #2214 · 0 comments
Open

Kproject regression in 5.4.0 #2223

soywiz opened this issue Apr 23, 2024 Discussed in #2214 · 0 comments

Comments

@soywiz
Copy link
Member

soywiz commented Apr 23, 2024

Discussed in #2214

Originally posted by meoowe April 5, 2024
I saw that v5.4.0 was the newest, so I changed the second line of my libs.versions.toml from korge = { id = "com.soywiz.korge", version = "5.3.2" } to korge = { id = "com.soywiz.korge", version = "5.4.0" }. When I tried to sync, I got an error in settings.gradle.kts saying failed to apply plugin 'com.soywiz.korge.settings'. Did I miss something else I needed to change?

I had the same issue.

The actual problem however was not being unable to apply the plugin:

`Failed to apply plugin 'com.soywiz.korge.settings'.

Can't find ref '#a54e3b2cacf24e0a0eb87e2580f69f8c81d083ce#v0.0.5' in Repository[/Users/daniel/.kproject/clones/github.com/korlibs/korge-tiled/git/.git]`

The problem for me was that deps.kproject.yml contained a hash as part of the versioning for some dependencies. This hash doesn't break in 5.3.x but breaks in 5.4.0

So instead of (example for Tiled dependency): - https://github.com/korlibs/korge-tiled/tree/v0.0.5/korge-tiled##a54e3b2cacf24e0a0eb87e2580f69f8c81d083ce I changed it to - https://github.com/korlibs/korge-tiled/tree/v0.0.5/korge-tiled

@soywiz I had the same issue.

The actual problem however was not being unable to apply the plugin:

`Failed to apply plugin 'com.soywiz.korge.settings'.

Can't find ref '#a54e3b2cacf24e0a0eb87e2580f69f8c81d083ce#v0.0.5' in Repository[/Users/daniel/.kproject/clones/github.com/korlibs/korge-tiled/git/.git]`

The problem for me was that deps.kproject.yml contained a hash as part of the versioning for some dependencies. This hash doesn't break in 5.3.x but breaks in 5.4.0

So instead of (example for Tiled dependency): - https://github.com/korlibs/korge-tiled/tree/v0.0.5/korge-tiled##a54e3b2cacf24e0a0eb87e2580f69f8c81d083ce I changed it to - https://github.com/korlibs/korge-tiled/tree/v0.0.5/korge-tiled

Relevant discussions

@soywiz soywiz changed the title Kproject issue starting with 5.4.0 Kproject regression in 5.4.0 Apr 23, 2024
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

1 participant