mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
Set ecj target version
This commit is contained in:
1 parent
ddf4ebce52
commit
09ac596dd8
1 file changed
+1
@@ -95,6 +95,7 @@ public class RunTestsViaEcj extends AbstractRunTests {
|
||||
warnings.put(CompilerOptions.OPTION_ReportNonStaticAccessToStatic, "warning");
|
||||
warnings.put("org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures", "ignore");
|
||||
warnings.put(CompilerOptions.OPTION_Source, (ecjCompilerVersion < 9 ? "1." : "") + ecjCompilerVersion);
|
||||
warnings.put(CompilerOptions.OPTION_TargetPlatform, (ecjCompilerVersion < 9 ? "1." : "") + ecjCompilerVersion);
|
||||
warnings.put("org.eclipse.jdt.core.compiler.codegen.useStringConcatFactory", "disabled");
|
||||
options.set(warnings);
|
||||
return options;
|
||||
|
||||
Reference in new issue
Block a user