mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Moved restrictedAPI to future release
This commit is contained in:
@@ -149,11 +149,12 @@
|
|||||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
||||||
<arg>
|
<arg>
|
||||||
-Xplugin:ErrorProne \
|
-Xplugin:ErrorProne \
|
||||||
-Xep:RestrictedApi:ERROR \
|
|
||||||
-XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \
|
|
||||||
-XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \
|
|
||||||
-XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used.
|
|
||||||
</arg>
|
</arg>
|
||||||
|
<!-- TODO-->
|
||||||
|
<!-- -Xep:RestrictedApi:ERROR \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used.-->
|
||||||
<arg>-XDcompilePolicy=simple</arg>
|
<arg>-XDcompilePolicy=simple</arg>
|
||||||
<arg>--should-stop=ifError=FLOW</arg>
|
<arg>--should-stop=ifError=FLOW</arg>
|
||||||
</compilerArgs>
|
</compilerArgs>
|
||||||
|
|||||||
@@ -161,12 +161,13 @@
|
|||||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
|
||||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
||||||
<arg>
|
<arg>
|
||||||
-Xplugin:ErrorProne \
|
-Xplugin:ErrorProne
|
||||||
-Xep:RestrictedApi:ERROR \
|
|
||||||
-XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \
|
|
||||||
-XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \
|
|
||||||
-XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used.
|
|
||||||
</arg>
|
</arg>
|
||||||
|
<!-- TODO-->
|
||||||
|
<!-- -Xep:RestrictedApi:ERROR \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used.-->
|
||||||
<arg>-XDcompilePolicy=simple</arg>
|
<arg>-XDcompilePolicy=simple</arg>
|
||||||
<arg>--should-stop=ifError=FLOW</arg>
|
<arg>--should-stop=ifError=FLOW</arg>
|
||||||
</compilerArgs>
|
</compilerArgs>
|
||||||
|
|||||||
11
game/pom.xml
11
game/pom.xml
@@ -123,12 +123,13 @@
|
|||||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
|
||||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
||||||
<arg>
|
<arg>
|
||||||
-Xplugin:ErrorProne \
|
-Xplugin:ErrorProne
|
||||||
-Xep:RestrictedApi:ERROR \
|
|
||||||
-XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \
|
|
||||||
-XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \
|
|
||||||
-XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used.
|
|
||||||
</arg>
|
</arg>
|
||||||
|
<!-- TODO-->
|
||||||
|
<!-- -Xep:RestrictedApi:ERROR \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used.-->
|
||||||
<arg>-XDcompilePolicy=simple</arg>
|
<arg>-XDcompilePolicy=simple</arg>
|
||||||
<arg>--should-stop=ifError=FLOW</arg>
|
<arg>--should-stop=ifError=FLOW</arg>
|
||||||
</compilerArgs>
|
</compilerArgs>
|
||||||
|
|||||||
11
pom.xml
11
pom.xml
@@ -131,12 +131,13 @@
|
|||||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
|
||||||
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
||||||
<arg>
|
<arg>
|
||||||
-Xplugin:ErrorProne \
|
-Xplugin:ErrorProne
|
||||||
-Xep:RestrictedApi:ERROR \
|
|
||||||
-XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \
|
|
||||||
-XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \
|
|
||||||
-XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used.
|
|
||||||
</arg>
|
</arg>
|
||||||
|
<!-- TODO-->
|
||||||
|
<!-- -Xep:RestrictedApi:ERROR \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \-->
|
||||||
|
<!-- -XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used.-->
|
||||||
<arg>-XDcompilePolicy=simple</arg>
|
<arg>-XDcompilePolicy=simple</arg>
|
||||||
<arg>--should-stop=ifError=FLOW</arg>
|
<arg>--should-stop=ifError=FLOW</arg>
|
||||||
</compilerArgs>
|
</compilerArgs>
|
||||||
|
|||||||
Reference in New Issue
Block a user