Skip to content

Commit

Permalink
Override project groovyVersion from env CI_GROOVY_VERSION (#1780)
Browse files Browse the repository at this point in the history
* Update build.gradle

Override project groovyVersion from env CI_GROOVY_VERSION

* Force groovy version from the env CI_GROOVY_VERSION
  • Loading branch information
puneetbehl committed Jan 10, 2024
1 parent a34c30e commit d7808d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ apply plugin: 'idea'
apply plugin: 'project-report'

allprojects {

ext.groovyVersion = System.getenv('CI_GROOVY_VERSION') ?: project.groovyVersion

repositories {
mavenLocal()
mavenCentral()
maven { url = 'https://repo.grails.org/grails/core' }
if(isSnapshot) {
Expand Down Expand Up @@ -66,6 +70,7 @@ allprojects {
apply from: "gradle/idea.gradle"

subprojects {

configurations {
documentation
}
Expand Down

0 comments on commit d7808d9

Please sign in to comment.