Hi. I've just starting receiving ```\build.gradle....
# gradle
a
Hi. I've just starting receiving
Copy code
\build.gradle.kts:8:5: Expression 'kotlin' cannot be invoked as a function. The function 'invoke()' is not found
on any gradle task, I'm running from IDEA. This is preceded by strange warning I've never seen before:
Copy code
WARN: Failed to initialize native filesystem for Windows
java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
	at org.jetbrains.kotlin.com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:95)
	at org.jetbrains.kotlin.com.intellij.openapi.application.PathManager.getBinPath(PathManager.java:132)
	at org.jetbrains.kotlin.com.intellij.util.lang.UrlClassLoader.loadPlatformLibrary(UrlClassLoader.java:311)
	at org.jetbrains.kotlin.com.intellij.openapi.util.io.win32.IdeaWin32.<clinit>(IdeaWin32.java:48)
Any idea? upd: from cmd line everything is ok, but I have --no-daemon global setting, that does not affect IDEA afaik
d
I remember
System.setProperty("idea.io.use.fallback", "true")
gets rid of the warn, not sure if it helps with the other problem though (see e.g. https://github.com/arturbosch/detekt/issues/630)
a
wow, magic. =(
thanks
now I comment out this line and it works anyway
Finally I've found the difference. Before I received your advice, I started to switch to groovy configuration. So it works OK, when settings.gradle is in groovy