forbid compiling code in packages with names starting with 'kotlin' unless the -Xallow-kotlin-package command line option is specified

This commit is contained in:
Dmitry Jemerov
2016-01-13 19:04:16 +01:00
parent 6b354748ba
commit f3faa10fcc
11 changed files with 51 additions and 2 deletions
+1
View File
@@ -750,6 +750,7 @@
<arg value="${toString:classpath.path}"/>
<arg value="-module-name"/>
<arg value="@{moduleName}"/>
<arg value="-Xallow-kotlin-package"/>
</java>
<javac2 srcdir="${toString:src.dirset}" destdir="@{output}" debug="true" debuglevel="lines,vars,source"