Skip to content

Commit

Permalink
[branch sc46794] Upgrade to Spock 2 (#15)
Browse files Browse the repository at this point in the history
* Upgraded to Spock 2

* Upgraded to Spock 2

* added missing JUnit platform usage
  • Loading branch information
musketyr committed Nov 15, 2021
1 parent cc14d0b commit 2afef7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ projects {

// location independent tests (useful for stable CI builds)
tasks.withType(Test){
useJUnitPlatform()

systemProperty 'user.timezone', 'UTC'
systemProperty 'user.language', 'en'
}
Expand All @@ -155,7 +157,7 @@ projects {
dependencies {
testCompileOnly 'io.micronaut:micronaut-inject-groovy'

testImplementation('org.spockframework:spock-core') {
testImplementation("org.spockframework:spock-core:$spockVersion") {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
testImplementation 'net.bytebuddy:byte-buddy:1.10.6'
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ nexusPluginVersion=1.0.0

micronautVersion=1.3.7
micronautGrailsVersion=3.0.3
spockVersion=2.0-groovy-2.5

0 comments on commit 2afef7d

Please sign in to comment.