Copilot commented on code in PR #602: URL: https://github.com/apache/grails-forge/pull/602#discussion_r2167958747
########## grails-forge-core/src/main/java/org/grails/forge/feature/build/gradle/templates/buildSrcBuildGradle.rocker.raw: ########## @@ -53,7 +59,7 @@ repositories { } dependencies { - implementation platform("org.apache.grails:grails-gradle-bom:@VersionInfo.getGrailsVersion()") + implementation platform("org.apache.grails:grails-gradle-bom:$gradleProperties.grailsVersion") Review Comment: Instead of referencing the entire `gradleProperties` map, consider assigning `ext.grailsVersion = project.property('grailsVersion')` so you can interpolate `${grailsVersion}` directly and reduce nested property access. ```suggestion implementation platform("org.apache.grails:grails-gradle-bom:$grailsVersion") ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@grails.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org