Browse Source

Polish

See gh-42809
pull/42868/head
jeonghyeon00 1 year ago committed by Stéphane Nicoll
parent
commit
cc25e6145e
  1. 4
      buildSrc/src/main/java/org/springframework/boot/build/KotlinConventions.java

4
buildSrc/src/main/java/org/springframework/boot/build/KotlinConventions.java

@ -61,9 +61,9 @@ class KotlinConventions { @@ -61,9 +61,9 @@ class KotlinConventions {
kotlinOptions.setLanguageVersion("1.7");
kotlinOptions.setJvmTarget("17");
kotlinOptions.setAllWarningsAsErrors(true);
List<String> freeCompilerArgs = new ArrayList<>(compile.getKotlinOptions().getFreeCompilerArgs());
List<String> freeCompilerArgs = new ArrayList<>(kotlinOptions.getFreeCompilerArgs());
freeCompilerArgs.add("-Xsuppress-version-warnings");
compile.getKotlinOptions().setFreeCompilerArgs(freeCompilerArgs);
kotlinOptions.setFreeCompilerArgs(freeCompilerArgs);
}
private void configureDokkatoo(Project project) {

Loading…
Cancel
Save