Skip to content

Commit 30cf457

Browse files
committed
include snapshot url in the wrapper
1 parent b6c9f59 commit 30cf457

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

grails-wrapper/src/main/java/grails/init/GrailsUpdater.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ private boolean updateJar(GrailsWrapperRepo repo, GrailsVersion version, String
156156
try {
157157
File downloadedJar = File.createTempFile(localJarFilename, jarFileExtension);
158158
String wrapperUrl = repo.getFileUrl(version, remoteJarFilename + jarFileExtension);
159+
if(snapshotVersion != null) {
160+
System.out.println("... Using Snapshot URL: " + wrapperUrl);
161+
}
159162

160163
long contentLength = -1;
161164
InputStream inputStream;

0 commit comments

Comments
 (0)