Add a compiler option to disable default scripting plugin

This commit is contained in:
Ilya Chernikov
2018-04-05 21:41:33 +02:00
parent ccecc90130
commit cc2b244484
3 changed files with 9 additions and 1 deletions
@@ -231,6 +231,9 @@ class K2JVMCompilerArguments : CommonCompilerArguments() {
@Argument(value = "-Xenable-jvm-default", description = "Allow to use '@JvmDefault' for JVM default method support")
var enableJvmDefault: Boolean by FreezableVar(false)
@Argument(value = "-Xdisable-default-scripting-plugin", description = "Do not enable scripting plugin by default")
var disableDefaultScriptingPlugin: Boolean by FreezableVar(false)
// Paths to output directories for friend modules.
var friendPaths: Array<String>? by FreezableVar(null)