File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed
Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ buildscript {
1313 // classpath "io.github.groovylang.groovydoc:groovydoc-gradle-plugin:1.0.1"
1414 classpath " org.graceframework:grace-gradle-plugin:$graceVersion "
1515 classpath " com.github.erdi:webdriver-binaries-gradle-plugin:$webdriverBinariesVersion "
16- // classpath "org.gradle:test-retry-gradle-plugin:1.3.1 "
16+ classpath " org.gradle:test-retry-gradle-plugin:1.6.0 "
1717 classpath " org.hibernate:hibernate-core-jakarta:$hibernateCoreVersion "
1818 }
1919}
@@ -105,7 +105,7 @@ subprojects { Project subproject ->
105105 apply plugin : ' checkstyle'
106106 apply plugin : ' codenarc'
107107 apply plugin : ' signing'
108- // apply plugin: "org.gradle.test-retry"
108+ apply plugin : " org.gradle.test-retry"
109109
110110 if (isPluginProject) {
111111 apply plugin : ' org.graceframework.grace-plugin'
@@ -138,18 +138,20 @@ subprojects { Project subproject ->
138138 withSourcesJar()
139139 }
140140
141- // tasks.withType(Test) {
142- // configure {
143- // retry {
144- // maxRetries = 2
145- // maxFailures = 20
146- // failOnPassedAfterRetry = true
147- // filter {
148- // excludeClasses.add("*GroovyChangeLogSpec")
149- // }
150- // }
151- // }
152- // }
141+ tasks. withType(Test ) {
142+ useJUnitPlatform()
143+ testLogging {
144+ showStandardStreams = true
145+ exceptionFormat = ' full'
146+ }
147+ configure {
148+ retry {
149+ maxRetries = 2
150+ maxFailures = 20
151+ failOnPassedAfterRetry = true
152+ }
153+ }
154+ }
153155
154156 groovydoc. classpath = configurations. documentation
155157
You can’t perform that action at this time.
0 commit comments