Kotlin not configured with version 1.1.3

Hi, I tried with both intellij 2017.3.5 and the lates intellij 2018.1.2 to see if the message will disappear and resolve Kotlin issues. I am still getting the same error, and also looked heavily for other tickets related and done some of their advices but no luck.


here is my dependencies:
`buildscript {
ext.kotlin_version = ‘1.1.3’
repositories {
mavenCentral()
}
dependencies {
classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version”
classpath “org.jetbrains.kotlin:kotlin-allopen:$kotlin_version”
}
}

apply plugin: ‘kotlin’
apply plugin: ‘kotlin-spring’

repositories {
mavenCentral()
}

dependencies {
compile “org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version”
compile ‘com.github.salomonbrys.kotson:kotson:2.5.0’
compile project(“:client”)
}`

I’m not sure if this will help, but you could try to use “Refresh all Gradle projects”. This button is hidden in the Gradle tool window, which you can open from View > Tool Windows > Gradle (at least on a mac). If this does not work. Try to close idea and delete the .idea folder. Then create a new project from existing sources.

I see you seem to have a subproject :client configured in your build. does it have its own build.gradle and if yes, does it apply the kotlin plugin?
if not you might try:

subprojects {
  apply plugin: ‘kotlin’
  apply plugin: ‘kotlin-spring’
}

Thank you so much that subprojects worked!