Skip to content

Commit 10b08d3

Browse files
Compile with -parameters
See spring-projects/spring-framework#29559
1 parent 878f6c1 commit 10b08d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ subprojects {
4040
tasks.withType(Test) {
4141
useJUnitPlatform()
4242
}
43+
44+
// Spring Framework 6.1 requires -parameters to be able to introspect method parameter names
45+
tasks.withType(JavaCompile) {
46+
options.compilerArgs.add("-parameters")
47+
}
4348
}
4449

4550
nohttp {

0 commit comments

Comments
 (0)