Add -parameters to compiler args

Closes gh-139
This commit is contained in:
Marcus Da Coregio
2023-07-17 12:29:59 -03:00
parent bb6fc88875
commit 2d2ffb5d7b

View File

@@ -20,6 +20,11 @@ allprojects {
}
}
}
// Spring Framework 6.1 requires -parameters to be able to introspect method parameter names
tasks.withType(JavaCompile) {
options.compilerArgs.add("-parameters")
}
}
if (hasProperty('buildScan')) {