Browse Source

Polish Gradle compile convention

See gh-23282
pull/23469/head
Brian Clozel 6 years ago
parent
commit
2f61c89f09
  1. 5
      buildSrc/src/main/java/org/springframework/build/compile/CompilerConventionsPlugin.java

5
buildSrc/src/main/java/org/springframework/build/compile/CompilerConventionsPlugin.java

@ -57,9 +57,8 @@ public class CompilerConventionsPlugin implements Plugin<Project> { @@ -57,9 +57,8 @@ public class CompilerConventionsPlugin implements Plugin<Project> {
COMPILER_ARGS = new ArrayList<>();
COMPILER_ARGS.addAll(commonCompilerArgs);
COMPILER_ARGS.addAll(Arrays.asList(
"-Xlint:serial", "-Xlint:cast", "-Xlint:classfile", "-Xlint:dep-ann",
"-Xlint:divzero", "-Xlint:empty", "-Xlint:finally", "-Xlint:overrides",
"-Xlint:path", "-Xlint:processing", "-Xlint:static", "-Xlint:try", "-Xlint:-options"
"-Xlint:varargs", "-Xlint:fallthrough", "-Xlint:rawtypes", "-Xlint:deprecation",
"-Xlint:unchecked", "-Werror"
));
TEST_COMPILER_ARGS = new ArrayList<>();
TEST_COMPILER_ARGS.addAll(commonCompilerArgs);

Loading…
Cancel
Save