Skip to content

Commit e65342c

Browse files
authored
Update Gradle, Spock, and Groovy (#2416)
* Upgrade Gradle to 7.1 * Upgrade Spock and Groovy * Remove groovy-json
1 parent 966882f commit e65342c

File tree

3 files changed

+95
-99
lines changed

3 files changed

+95
-99
lines changed

build.gradle

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import java.text.SimpleDateFormat
33
plugins {
44
id 'java'
55
id 'java-library'
6-
id 'maven'
76
id 'maven-publish'
87
id 'antlr'
98
id 'signing'
@@ -94,8 +93,8 @@ dependencies {
9493
antlr "org.antlr:antlr4:4.8"
9594
implementation 'com.google.guava:guava:30.0-jre'
9695
testImplementation group: 'junit', name: 'junit', version: '4.12'
97-
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
98-
testImplementation('org.codehaus.groovy:groovy:2.5.13')
96+
testImplementation 'org.spockframework:spock-core:2.0-groovy-3.0'
97+
testImplementation 'org.codehaus.groovy:groovy:3.0.8'
9998
testImplementation 'cglib:cglib-nodep:3.3.0'
10099
testImplementation 'org.objenesis:objenesis:2.1'
101100
testImplementation 'com.google.code.gson:gson:2.8.0'
@@ -299,9 +298,6 @@ tasks.withType(PublishToMavenRepository) {
299298
dependsOn build
300299
}
301300

302-
303-
task myWrapper(type: Wrapper) {
304-
gradleVersion = '6.6.1'
305-
distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip"
306-
}
307-
301+
test {
302+
useJUnitPlatform()
303+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew.bat

Lines changed: 89 additions & 89 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)