@@ -20,7 +20,7 @@ project.ext {
2020 projectMinorVersion = " 1"
2121 projectPatchVersion = " 0"
2222// releaseType = "RELEASE"
23- // releaseType = "M2 "
23+ // releaseType = "M1 "
2424// releaseType = "RC1"
2525 releaseType = " BUILD-SNAPSHOT"
2626
5757
5858allprojects {
5959 repositories {
60- mavenLocal()
6160 maven { url " https://repo.grails.org/grails/core" }
6261 if (isBuildSnapshot) {
6362 maven { url " https://repo.grails.org/grails/libs-snapshots-local" }
@@ -132,28 +131,20 @@ subprojects {
132131 documentation " org.codehaus.groovy:groovy-dateutil:$groovyVersion "
133132 documentation ' info.picocli:picocli:3.8.0'
134133
135- compile group : ' org.codehaus.groovy' , name : ' groovy' , version : groovyVersion
136- testCompile group : ' org.codehaus.groovy' , name : ' groovy-test-junit5' , version : groovyVersion
134+ compile " org.codehaus.groovy: groovy: $ groovyVersion "
135+ testCompile " org.codehaus.groovy: groovy-test-junit5: $ groovyVersion "
137136 testCompile " org.junit.jupiter:junit-jupiter-api:5.6.0"
138137 testCompile " org.junit.platform:junit-platform-runner:1.6.0"
139138 testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine:5.6.0"
140139
141- testCompile(spockDependency) {
142- exclude group : ' junit' , module : ' junit-dep'
143- exclude group : ' org.codehaus.groovy' , module : ' groovy-all'
144- exclude group : ' org.hamcrest' , module : ' hamcrest-core'
145- transitive = false
146- }
140+ testCompile(spockDependency) { transitive = false }
147141 }
148142
149143 if (project. name == " grails-datastore-gorm-tck" ) {
150- compile(spockDependency, {
151- exclude group : ' junit' , module : ' junit-dep'
152- exclude group : ' org.codehaus.groovy' , module : ' groovy-all'
153- exclude group : ' org.hamcrest' , module : ' hamcrest-core'
154- transitive = false
155- })
144+ compile " org.codehaus.groovy:groovy-test-junit5:$groovyVersion "
145+ compile " org.junit.jupiter:junit-jupiter-api:5.6.0"
156146 compile " org.junit.platform:junit-platform-runner:1.6.0"
147+ compile(spockDependency) { transitive = false }
157148 }
158149 }
159150
@@ -203,7 +194,7 @@ subprojects {
203194 } else {
204195 maxParallelForks = 4
205196 forkEvery = 100
206- jvmArgs = [' -server' , ' -Xmx2048M ' , ' -XX:MaxPermSize=256m ' ]
197+ jvmArgs = [' -server' , ' -Xmx4048M ' , ' -Xms1024M ' ]
207198 }
208199 if (System . getProperty(" debug.tests" )) {
209200 jvmArgs ' -Xmx2g' , ' -Xdebug' , ' -Xnoagent' , ' -Djava.compiler=NONE' ,
0 commit comments