<@U79JY5TL3> are you using IntelliJ 2017.2.5 with ...
# gradle
j
@mbonnin are you using IntelliJ 2017.2.5 with kotlin plugin 1.1.50 with gradle 4.2?
m
Sorry for the late response but yes, that would be my setup. A few things I had problems with in the past: an empty build.gradle at the root of the repo and the java JDK being set to 1.7
can you run gradle from the command line ? ./gradlew tasks
j
yep everything works fine from the command line, and the tasks run OK from the gradle tool window in intellij too
all the gradle setup seems to be just fine, it's just intellij not recognizing the file or something
m
rm -rf .idea & re-import project ?
j
oh good thinking, worth a shot
m
the arcanes of intellij
j
nope 😞
i had hope for there for a second, after like 5 seconds of opening build.gradle.kts everything turned red
m
yep, it's a bit slow...
can you synchronize gradle ?
Views -> Tools -> Gradle -> little circular blue arrows ?
j
done that also like 10 times 🙂
d
Removing the global Gradle cache helped me
mv ~/.gradle ~/.gradle-backup