Skip to content

Commit

Permalink
Merge branch 'feature_groovy305Upgrade'
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurat committed Jul 27, 2020
2 parents 298202b + 3aeebd3 commit 59bea5e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 34 deletions.
10 changes: 1 addition & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,7 @@ configure(subprojects) { Project subproject ->
}

test {
// TODO dmurat: remove this check when https://github.com/spockframework/spock/issues/1177 gets fixed.
if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
// NOTE: "-noverify" option must not be included for JDK 1.8. Otherwise, Spock's "thrown()" method results in IllegalAccessError.
jvmArgs = ["-XX:TieredStopAtLevel=1"]
}
else {
jvmArgs = ["-noverify", "-XX:TieredStopAtLevel=1"]
}

jvmArgs = ["-noverify", "-XX:TieredStopAtLevel=1"]
useJUnitPlatform()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,7 @@ tasks.register("testIntegration", Test) { Test testIntegrationTask ->
testClassesDirs = sourceSets.testIntegration.output.classesDirs
classpath = sourceSets.testIntegration.runtimeClasspath

// TODO dmurat: remove this check when https://github.com/spockframework/spock/issues/1177 gets fixed.
if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
// NOTE: "-noverify" option must not be included for JDK 1.8. Otherwise, Spock's "thrown()" method results in IllegalAccessError.
jvmArgs = ["-XX:TieredStopAtLevel=1"]
}
else {
jvmArgs = ["-noverify", "-XX:TieredStopAtLevel=1"]
}
jvmArgs = ["-noverify", "-XX:TieredStopAtLevel=1"]
}

idea {
Expand Down
9 changes: 1 addition & 8 deletions cargotracker/cargotracker-booking-queryside-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,7 @@ tasks.register("testIntegration", Test) { Test testIntegrationTask ->
testClassesDirs = sourceSets.testIntegration.output.classesDirs
classpath = sourceSets.testIntegration.runtimeClasspath

// TODO dmurat: remove this check when https://github.com/spockframework/spock/issues/1177 gets fixed.
if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
// NOTE: "-noverify" option must not be included for JDK 1.8. Otherwise, Spock's "thrown()" method results in IllegalAccessError.
jvmArgs = ["-XX:TieredStopAtLevel=1"]
}
else {
jvmArgs = ["-noverify", "-XX:TieredStopAtLevel=1"]
}
jvmArgs = ["-noverify", "-XX:TieredStopAtLevel=1"]
}

idea {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,7 @@ tasks.register("testIntegration", Test) { Test testIntegrationTask ->
testClassesDirs = sourceSets.testIntegration.output.classesDirs
classpath = sourceSets.testIntegration.runtimeClasspath

// TODO dmurat: remove this check when https://github.com/spockframework/spock/issues/1177 gets fixed.
if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
// NOTE: "-noverify" option must not be included for JDK 1.8. Otherwise, Spock's "thrown()" method results in IllegalAccessError.
jvmArgs = ["-XX:TieredStopAtLevel=1"]
}
else {
jvmArgs = ["-noverify", "-XX:TieredStopAtLevel=1"]
}
jvmArgs = ["-noverify", "-XX:TieredStopAtLevel=1"]
}

idea {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ axonFrameworkVersion = 4.3.4
axonTracingExtensionVersion = 4.3
codeNarcVersion = 1.6
dataSourceProxyVersion = 1.7
groovyVersion = 3.0.4
groovyVersion = 3.0.5

# javaparser-core is a dependency of groovy-groovydoc, and its version should be updated each time when groovyVersion is updated.
javaparserCoreVersion = 3.15.22
Expand Down

0 comments on commit 59bea5e

Please sign in to comment.