<@U2YSEPDV1> I am just using the default Gradle wr...
# gradle
a
@pawel.barszcz I am just using the default Gradle wrapper in IntelliJ
p
andyb: I think you need special version of Gradle which handles gradle-kotlin-script. It’s not yet bundled into official release
in order to have it working, I copied following files/dirs from sample
hello-kotlin
project from the
v0.8.0
tag ( https://github.com/gradle/gradle-script-kotlin/tree/v0.8.0/samples/hello-kotlin ): -
gradlew
-
gradlew.bat
-
gradle/
(ofc v0.8.0 is not the newest one, but it was when I configured gradle-script-kotlin in my project)
and probably you have to configure IntelliJ to use gradle defined in gradle wrapper configuration in your project (or maybe it’s autodetected by defaut? I;m just guessing)
To be correct: I’m guessing that your problem is because of using improper version of Gradle. I was unable to write Gradle in Kotlin with official releases.
a
@pawel.barszcz ok, thanks for that. Will give it a go tomorrow