Skip to content

Commit 1da581a

Browse files
committed
spotless
1 parent e143667 commit 1da581a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaModulePlugin.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ static void configureCompileModulePath(Project project) {
9292
}).getFiles();
9393

9494
project.getTasks().named("compileJava", JavaCompile.class).configure(task -> {
95-
task.getOptions().getCompilerArgs().add("-Xlint:-module,-exports,-requires-automatic,-requires-transitive-automatic");
95+
task.getOptions()
96+
.getCompilerArgs()
97+
.add("-Xlint:-module,-exports,-requires-automatic,-requires-transitive-automatic,-missing-explicit-ctor");
9698

9799
var argumentProvider = new CompileModulePathArgumentProvider(isModuleProject, moduleCompileClasspath);
98100
task.getOptions().getCompilerArgumentProviders().add(argumentProvider);

0 commit comments

Comments
 (0)