diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 2772207c45..33a07fcea0 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -20,6 +20,7 @@ dependencies { implementation("org.apache.maven:maven-embedder:3.6.2") implementation("org.asciidoctor:asciidoctor-gradle-jvm:3.0.0") implementation("org.asciidoctor:asciidoctor-gradle-jvm-pdf:3.0.0") + implementation("org.gradle:test-retry-gradle-plugin:1.1.3") implementation("org.springframework:spring-core:5.2.2.RELEASE") implementation("org.springframework:spring-web:5.2.2.RELEASE") implementation("com.google.code.gson:gson:2.8.5") diff --git a/buildSrc/src/main/java/org/springframework/boot/build/ConventionsPlugin.java b/buildSrc/src/main/java/org/springframework/boot/build/ConventionsPlugin.java index 1941228ed4..52c3b03de1 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/ConventionsPlugin.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/ConventionsPlugin.java @@ -56,6 +56,8 @@ import org.gradle.api.tasks.bundling.Jar; import org.gradle.api.tasks.compile.JavaCompile; import org.gradle.api.tasks.javadoc.Javadoc; import org.gradle.api.tasks.testing.Test; +import org.gradle.testretry.TestRetryPlugin; +import org.gradle.testretry.TestRetryTaskExtension; import org.springframework.boot.build.testing.TestFailuresPlugin; import org.springframework.util.FileCopyUtils; @@ -71,7 +73,8 @@ import org.springframework.util.FileCopyUtils; *