Skip to content

Commit

Permalink
Compile with -parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusdacoregio committed Jul 18, 2023
1 parent 878f6c1 commit 10b08d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 10b08d3

Please sign in to comment.