jamesfredley commented on code in PR #559:
URL: https://github.com/apache/grails-forge/pull/559#discussion_r2071653402
##########
grails-forge-core/src/main/java/org/grails/forge/feature/build/gradle/templates/buildGradle.rocker.raw:
##########
@@ -27,8 +28,9 @@ GradleBuild gradleBuild
buildscript {
repositories {
mavenCentral()
- // TODO: only include on when grailsVersion is a snapshot
+@if (grailsVersion.endsWith("SNAPSHOT")) {
maven { url "https://repository.apache.org/content/groups/snapshots/" }
Review Comment:
Yes, at least from an output formatting standpoint. Rocker is very literal
about whitespace.
It might work moved up, but the output would be off.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]