Skip to content

Commit d7808d9

Browse files
authored
Override project groovyVersion from env CI_GROOVY_VERSION (#1780)
* Update build.gradle Override project groovyVersion from env CI_GROOVY_VERSION * Force groovy version from the env CI_GROOVY_VERSION
1 parent a34c30e commit d7808d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ apply plugin: 'idea'
3737
apply plugin: 'project-report'
3838

3939
allprojects {
40+
41+
ext.groovyVersion = System.getenv('CI_GROOVY_VERSION') ?: project.groovyVersion
42+
4043
repositories {
44+
mavenLocal()
4145
mavenCentral()
4246
maven { url = 'https://repo.grails.org/grails/core' }
4347
if(isSnapshot) {
@@ -66,6 +70,7 @@ allprojects {
6670
apply from: "gradle/idea.gradle"
6771

6872
subprojects {
73+
6974
configurations {
7075
documentation
7176
}

0 commit comments

Comments
 (0)