Merge branch '3.2.x' into 3.3.x

Closes gh-42810
This commit is contained in:
Stéphane Nicoll 2024-10-21 17:19:00 +02:00
commit 1688804f0c
1 changed files with 2 additions and 2 deletions

View File

@ -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) {