apomelov
03/19/2018, 5:39 PM\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:
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 afaikdavid-kirstein
03/19/2018, 5:42 PMSystem.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)apomelov
03/19/2018, 5:48 PMapomelov
03/19/2018, 5:48 PMapomelov
03/19/2018, 5:48 PMapomelov
03/19/2018, 5:52 PM