Skip to content

Commit 2929920

Browse files
authored
Generate OpenRewrite recipes with JavaParser.Builder#classpathFromResources (#1918)
1 parent cad01da commit 2929920

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,10 @@
10171017
linting. -->
10181018
<arg>--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
10191019
<arg>-Xlint:none</arg>
1020+
<!-- Generate recipe definitions that use
1021+
`JavaParser.Builder#classpathFromResources`
1022+
rather than `JavaParser.Builder#classpath`. -->
1023+
<arg>-Arewrite.javaParserClasspathFrom=resources</arg>
10201024
</compilerArgs>
10211025
<includes>
10221026
<include>**/*Rules.java</include>

0 commit comments

Comments
 (0)