mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Remove unnessary args after Kotlin 2.4 upgrade
See gh-37074
This commit is contained in:
@@ -53,8 +53,7 @@ public class KotlinConventions {
|
|||||||
"-Xsuppress-version-warnings",
|
"-Xsuppress-version-warnings",
|
||||||
"-Xjsr305=strict", // For dependencies using JSR 305
|
"-Xjsr305=strict", // For dependencies using JSR 305
|
||||||
"-opt-in=kotlin.RequiresOptIn",
|
"-opt-in=kotlin.RequiresOptIn",
|
||||||
"-Xjdk-release=17", // Needed due to https://youtrack.jetbrains.com/issue/KT-49746
|
"-Xjdk-release=17" // Needed due to https://youtrack.jetbrains.com/issue/KT-49746
|
||||||
"-Xannotation-default-target=param-property" // Preferred behavior, default with Kotlin language version set to 2.4+, see https://youtrack.jetbrains.com/issue/KT-73255
|
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ tasks.withType(KotlinCompilationTask.class).configureEach {
|
|||||||
compilerOptions.jvmTarget = JvmTarget.JVM_17
|
compilerOptions.jvmTarget = JvmTarget.JVM_17
|
||||||
compilerOptions.freeCompilerArgs.addAll(
|
compilerOptions.freeCompilerArgs.addAll(
|
||||||
"-Xjdk-release=17", // Needed due to https://youtrack.jetbrains.com/issue/KT-49746
|
"-Xjdk-release=17", // Needed due to https://youtrack.jetbrains.com/issue/KT-49746
|
||||||
"-Xannotation-default-target=param-property" // Upcoming default, see https://youtrack.jetbrains.com/issue/KT-73255
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user