Skip to content

Kproject regression in 5.4.0 #2223

@soywiz

Description

@soywiz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Pending

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions