Kapt: Disable location mapping by default, allow to enable it manually
This commit is contained in:
+4
@@ -55,6 +55,9 @@ public class KaptJVMCompilerMojo extends K2JVMCompileMojo {
|
||||
@Parameter
|
||||
private boolean correctErrorTypes = false;
|
||||
|
||||
@Parameter
|
||||
private boolean mapDiagnosticLocations = false;
|
||||
|
||||
@Parameter
|
||||
private List<String> annotationProcessorArgs;
|
||||
|
||||
@@ -94,6 +97,7 @@ public class KaptJVMCompilerMojo extends K2JVMCompileMojo {
|
||||
options.add(new KaptOption("aptOnly", true));
|
||||
options.add(new KaptOption("useLightAnalysis", useLightAnalysis));
|
||||
options.add(new KaptOption("correctErrorTypes", correctErrorTypes));
|
||||
options.add(new KaptOption("mapDiagnosticLocations", mapDiagnosticLocations));
|
||||
options.add(new KaptOption("processors", annotationProcessors));
|
||||
|
||||
if (arguments.getVerbose()) {
|
||||
|
||||
Reference in New Issue
Block a user