Import into IntelliJ failing after running gradle idea with Gradle 4.10.3


(WOO CHEOL CHOI) #1

i run gradle assembly on cmd before importing into Intellij

[error message]

You must run gradle idea from the root of elasticsearch before importing into IntelliJ

Open File

[code]
if (System.getProperty('idea.active') != null && ideaMarker.exists() == false) {

throw new GradleException('You must run gradle idea from the root of elasticsearch before importing into IntelliJ')

}

[log]
org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Build file 'E:\cygwin64\home\socia\workspace\elasticsearch\build.gradle' line: 430

A problem occurred evaluating root project 'elasticsearch'.

[system info]
ElasticSearch version: latest just clone 6db1a9e
Gradle version: 4.10.3
Java version: 11
OS: windows 10