Skip to content

Commit ef83e1e

Browse files
authored
Merge pull request #1302 from grails/cleanup-dep-rebased
Cleanup dependencies
2 parents 1b5260f + 19065c5 commit ef83e1e

File tree

4 files changed

+10
-17
lines changed

4 files changed

+10
-17
lines changed

build.gradle

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -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

@@ -57,7 +57,6 @@ ext {
5757

5858
allprojects {
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,21 @@ 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+
runtimeOnly "org.junit.jupiter:junit-jupiter-engine:5.6.0"
148+
compile(spockDependency) { transitive = false }
157149
}
158150
}
159151

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ grailsVersion=3.3.8
1717
grailsAsyncVersion=3.3.2
1818
slf4jVersion=1.7.29
1919
junitVersion=4.12
20+
junit-jupiter.version=5.6.0
2021
javassistVersion=3.21.0-GA
2122
groovyVersion=3.0.3

grails-datastore-gorm-tck/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ dependencies {
33
compile 'commons-lang:commons-lang:2.6'
44
compile project(":grails-datastore-gorm-async")
55
compile project(":grails-datastore-gorm-support")
6-
// compile "junit:junit:$junitVersion"
76
compile("javax.servlet:javax.servlet-api:$servletApiVersion")
87

98
runtime "org.codehaus.groovy:groovy-dateutil:$groovyVersion"

grails-datastore-gorm-test/src/test/groovy/org/grails/datastore/gorm/SimpleMapTestSuite.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import org.junit.runner.RunWith
88
/**
99
* @author graemerocher
1010
*/
11+
//TODO: Replace with JUnit5 declarative test suites once https://github.com/junit-team/junit5/issues/744 is resolved
1112
@RunWith(JUnitPlatform)
1213
@SelectClasses([NotInListSpec])
1314
class SimpleMapTestSuite {

0 commit comments

Comments
 (0)