kweb-core icon indicating copy to clipboard operation
kweb-core copied to clipboard

Have some sort of compatibility listing with Kotlin versions

Open njokipal opened this issue 1 year ago • 4 comments

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

njokipal avatar May 01 '24 08:05 njokipal

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

sanity avatar May 05 '24 16:05 sanity

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

njokipal avatar May 06 '24 09:05 njokipal

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.

sanity avatar May 06 '24 15:05 sanity

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

njokipal avatar May 07 '24 07:05 njokipal