so i figured out how to include scripts to compila...
# scripting
n
so i figured out how to include scripts to compilation without adding stuff to the sourceSets and adding current complete classpath:
Copy code
refineConfiguration {
        // TODO: add and evaluate file level annotations
        val reports: MutableList<ScriptDiagnostic> = mutableListOf()
        beforeParsing { context ->
            ScriptCompilationConfiguration(context.compilationConfiguration) {
                importScripts.append(
                    File(".voodoo").resolve("Forge.kt").toScriptSource(),
                    File(".voodoo").resolve("Mod.kt").toScriptSource(),
                    File(".voodoo").resolve("TexturePack.kt").toScriptSource()
                )
                reports += ScriptDiagnostic("test", ScriptDiagnostic.Severity.ERROR)
            }.asSuccess(reports)
        }
    }
downside is that idea does now show errors on all references to files included that way.. so this is not properly encoded in the script host jar, or not used by the idea plugin