diff --git a/build.gradle b/build.gradle index 490c4d6506..4b0803a21f 100644 --- a/build.gradle +++ b/build.gradle @@ -46,6 +46,12 @@ allprojects { if(isSnapshot) { maven { url = 'https://repo.grails.org/grails/libs-snapshots-local' } } + if(groovyVersion && groovyVersion.endsWith('-SNAPSHOT')) { + maven { + name = 'ASF Snapshot repo' + url = 'https://repository.apache.org/content/repositories/snapshots' + } + } } configurations {