Compile with -parameters

See https://github.com/spring-projects/spring-framework/issues/29559
This commit is contained in:
Marcus Da Coregio
2023-07-17 15:06:38 -03:00
parent 878f6c1a5a
commit 10b08d346b

View File

@@ -40,6 +40,11 @@ subprojects {
tasks.withType(Test) {
useJUnitPlatform()
}
// Spring Framework 6.1 requires -parameters to be able to introspect method parameter names
tasks.withType(JavaCompile) {
options.compilerArgs.add("-parameters")
}
}
nohttp {