This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ ext.set('grailsVersion', libs.versions.grails.get())
10
10
ext. set(' isSnapshot' , projectVersion. endsWith(' -SNAPSHOT' ))
11
11
ext. set(' isReleaseVersion' , ! isSnapshot)
12
12
13
+ def groovyVersion = findProperty(' groovyVersion' ) ?: System . getenv(' GROOVY_VERSION' )
14
+ if (groovyVersion) {
15
+ ext. set(' groovy.version' , groovyVersion)
16
+ }
17
+
13
18
if (isReleaseVersion) {
14
19
nexusPublishing {
15
20
String nexusUser = System . getenv(' SONATYPE_USERNAME' )
@@ -35,7 +40,7 @@ subprojects {
35
40
mavenCentral()
36
41
maven { url = ' https://repo.grails.org/grails/core' }
37
42
// mavenLocal() // Keep, this will be uncommented and used by CI (groovy-joint-workflow)
38
- if (libs . versions . groovy . get() . endsWith(' -SNAPSHOT' )) {
43
+ if (groovyVersion ? . endsWith(' -SNAPSHOT' )) {
39
44
// Used for testing locally against the latest snapshot of Groovy
40
45
// Usage: ./gradlew -PgroovyVersion=X.X.X-SNAPSHOT build
41
46
maven {
Original file line number Diff line number Diff line change @@ -25,18 +25,6 @@ buildCache {
25
25
26
26
rootProject. name = ' grails-async'
27
27
28
- dependencyResolutionManagement {
29
- versionCatalogs {
30
- libs {
31
- def groovyVersion = System . getenv(' GROOVY_VERSION' )
32
- if (groovyVersion) {
33
- logger. warn " Using custom version $groovyVersion of Groovy due to GROOVY_VERSION being set."
34
- version(' groovy' , groovyVersion)
35
- }
36
- }
37
- }
38
- }
39
-
40
28
include ' docs'
41
29
include ' grails-async-core'
42
30
include ' grails-async-gpars'
You can’t perform that action at this time.
0 commit comments