sultanofcardio
10/12/2020, 5:34 PMimport java.nio.file.Files
import java.nio.file.StandardCopyOption
import java.util.concurrent.TimeUnit
plugins {
id("idea")
kotlin("jvm") version "1.4.10"
IDEA is unable to parse the file and highlights everything in red. Running a gradle task from the terminal works fine though. When I remove the import statements and put the plugins
block at the top, the script is parsed correctly but the unimported classes cannot be resolved.
Am I doing this incorrectly or is this an IDEA bug?mike.holler
10/12/2020, 6:39 PMsultanofcardio
10/12/2020, 7:58 PM