Compile with -parameters
See https://github.com/spring-projects/spring-framework/issues/29559
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user