Skip to content

Commit

Permalink
Remove WARN: Using deprecated '-debug' fallback for parameter name re…
Browse files Browse the repository at this point in the history
…solution

Compile the affected code with '-parameters' instead or avoid its introspection: org.grails.scaffolding.ScaffoldingBeanConfiguration
  • Loading branch information
rainboyan committed May 18, 2024
1 parent 1370b8d commit 155f175
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ subprojects { project->
withSourcesJar()
}

tasks.withType(GroovyCompile) {
options.compilerArgs << '-parameters'
}

tasks.withType(Test) {
useJUnitPlatform()
testLogging {
Expand Down

0 comments on commit 155f175

Please sign in to comment.