[CLI] Introduce new compiler arguments for registering compiler plugins
With new syntax each plugin should be registered in separate argument with syntax `-Xcompiler-plugin=classpath1,classpath2[=argument1=value1,argument2=value2]`
This commit is contained in:
committed by
teamcity
parent
8919703448
commit
928416c9c5
@@ -0,0 +1,8 @@
|
||||
error: mixing legacy and modern plugin arguments is prohibited. Please use only one syntax
|
||||
Legacy arguments:
|
||||
-Xplugin=dist/kotlinc/lib/allopen-compiler-plugin.jar
|
||||
-P plugin:org.jetbrains.kotlin.allopen:annotation=foo.AllOpen
|
||||
Modern arguments:
|
||||
-Xcompiler-plugin=dist/kotlinc/lib/noarg-compiler-plugin.jar=annotation=foo.NoArg
|
||||
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user