Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Have some sort of compatibility listing with Kotlin versions #609

Open
njokipal opened this issue May 1, 2024 · 4 comments
Open

Have some sort of compatibility listing with Kotlin versions #609

njokipal opened this issue May 1, 2024 · 4 comments
Assignees

Comments

@njokipal
Copy link

njokipal commented May 1, 2024

Just now I spent around one hour trying to get the simplest of Kweb applications to work. Always getting "Cannot resolve "io.kweb:kweb-core:1.4.x"".

Using the latest Kotlin (1.9.23). I tried taking the dependencies from the example projects, the Getting started guide, the freenet example. All resulted in the same, regardless if I added some extra repos (jitpack etc) from the old examples.

But then, from the Getting started guide I opened the Kweb template (https://github.com/kwebio/kweb-template/blob/master/build.gradle.kts), and there it was: kotlin("1.9.22"). I changed to using that one, and right away all's good and everything resolved.

So if there is some sort of constraint for the Kotlin and Kweb versions interoperabilities, it would be good to be listed.

Edit: corrected the original typo with version string causing some uncertainty

@sanity sanity self-assigned this May 5, 2024
@sanity
Copy link
Member

sanity commented May 5, 2024

Could you clarify, where is the string io.kweb:kweb-core:4.x coming from?

@njokipal
Copy link
Author

njokipal commented May 6, 2024

Sorry, I mistyped (classic "I don't need to copy-paste this"). 4.x should've been 1.4.x. Meaning I tried multiple patch versions in addition to the latest 12

@sanity
Copy link
Member

sanity commented May 6, 2024

Ok, thank you - I'll try to get to this when I can. If you have a suggested fix and want to submit a PR it would be greatly appreciated.

@njokipal
Copy link
Author

njokipal commented May 7, 2024

Thanks. I'll see if I adopted KWeb to my project, then I could look into this 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants