Add -parameters to compiler args
Closes gh-139
This commit is contained in:
@@ -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')) {
|
if (hasProperty('buildScan')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user