jlleitschuh
09/05/2017, 6:58 PM@Internal
causes intelliJ to no longer do syntax highlighting in that file and eventually IntelliJ locks up and you can't edit the file.
You don't get any error though.
It's very strange
For example this:
import org.ccrusius.erlang.tasks.Application
plugins {
id("org.ccrusius.erlang") version "2.0.8"
}
val helloWorldAppTask = task<Application>("helloWorldApp") {
version = "1"
setBaseDir(".")
afterEvaluate {
dependsOn(outAppFileTask)
outBeamFileTasks.forEach { dependsOn(it) }
}
}
Where outAppFileTask
and outBeamFileTasks
are annotated as @Internal
Normally, I wouldn't call them but I need to to get around a bug.
Maybe I'm totally misunderstanding the problem... Hrm...
This is strange...
This works fine:
val helloWorldAppTask = task<Application>("helloWorldApp") {
version = "1"
setBaseDir(".")
dependsOn(outAppFileTask)
outBeamFileTasks.forEach { dependsOn(it) }
}