File tree 1 file changed +9
-0
lines changed
retrolambda-maven-plugin/src/main/java/net/orfjackal/retrolambda/maven
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,14 @@ abstract class ProcessClassesMojo extends AbstractMojo {
79
79
@ Parameter (defaultValue = "false" , property = "retrolambdaDefaultMethods" , required = true )
80
80
public boolean defaultMethods ;
81
81
82
+ /**
83
+ * Whether to apply experimental javac issues workarounds.
84
+ *
85
+ * @since 2.5.5
86
+ */
87
+ @ Parameter (defaultValue = "false" , property = "retrolambdaJavacHacks" , required = true )
88
+ public boolean javacHacks ;
89
+
82
90
/**
83
91
* Reduces the amount of logging.
84
92
*
@@ -117,6 +125,7 @@ public void execute() throws MojoExecutionException {
117
125
config .setProperty (RetrolambdaApi .INPUT_DIR , getInputDir ().getAbsolutePath ());
118
126
config .setProperty (RetrolambdaApi .OUTPUT_DIR , getOutputDir ().getAbsolutePath ());
119
127
config .setProperty (RetrolambdaApi .CLASSPATH , getClasspath ());
128
+ config .setProperty (RetrolambdaApi .JAVAC_HACKS , "" + javacHacks );
120
129
121
130
if (fork ) {
122
131
processClassesInForkedProcess (config );
You can’t perform that action at this time.
0 commit comments