https://kotlinlang.org logo
#ktor
Title
# ktor
w

waghanza

06/14/2020, 8:52 AM
Hi, I have no
kotlin
skills, but I am trying to add it (in fact upgrade to 1.3) in https://github.com/the-benchmarker/web-frameworks/pull/2951 Could someone help me ? I have some messages
Class 'kotlin.Unit' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
on
gradle
6.5 and
kotlin
1.3.72
r

rharter

06/14/2020, 12:28 PM
I'd ditch the
+
in the versions, as it sounds like a version mismatch is happening between Kotlin parts.
w

waghanza

06/14/2020, 12:28 PM
sorry, you mean ?
who thing it's a version mismatch ?
n

Nikky

06/14/2020, 3:06 PM
could also be that you need to run gradle
clean
to make it behave.. but my money would also be on version mismatch to something like eap versions try running gradlew
dependencies
?
w

waghanza

06/14/2020, 4:09 PM
is there a way to avoid
eap
?
e

e5l

06/15/2020, 10:06 AM
Could you check it using gradle
5.4.*
?
w

waghanza

06/15/2020, 12:19 PM
gradle version is provided by docker image no ?
e

e5l

06/16/2020, 1:15 PM
It depends on your configuration. Usually we're using wrapper and specify it in
gradle-wrapper.properties
. But it also can be system global, without wrapper
w

waghanza

06/16/2020, 4:11 PM
I do not override this, I prefer using the
default
Copy code
------------------------------------------------------------
Gradle 6.5
------------------------------------------------------------

Build time:   2020-06-02 20:46:21 UTC
Revision:     a27f41e4ae5e8a41ab9b19f8dd6d86d7b384dad4

Kotlin:       1.3.72
Groovy:       2.5.11
Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM:          11.0.7 (AdoptOpenJDK 11.0.7+10)
OS:           Linux 4.14.154-boot2docker amd64
2 Views