From 27145dfd0a97011ffaf8ea65c2a190c188159152 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 30 Sep 2024 11:25:13 +0100 Subject: [PATCH] Test compatibility with latest versions of REST Assured --- spring-restdocs-restassured/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spring-restdocs-restassured/build.gradle b/spring-restdocs-restassured/build.gradle index 92a8a33b..812ed5d1 100644 --- a/spring-restdocs-restassured/build.gradle +++ b/spring-restdocs-restassured/build.gradle @@ -1,4 +1,5 @@ plugins { + id "io.spring.compatibility-test" version "0.0.3" id "java-library" id "maven-publish" } @@ -22,3 +23,10 @@ dependencies { testImplementation("org.hamcrest:hamcrest-library") testImplementation("org.mockito:mockito-core") } + +compatibilityTest { + dependency("REST Assured") { restAssured -> + restAssured.groupId = "io.rest-assured" + restAssured.versions = ["5.3.+", "5.4.+", "5.5.+"] + } +}