From e1dad3f60d1a230ac03de750217ae9338b305218 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 17 Jan 2022 15:32:25 +0000 Subject: [PATCH] Upgrade samples to use latest milestones of dependencies --- samples/rest-notes-slate/build.gradle | 2 +- samples/rest-notes-spring-data-rest/pom.xml | 2 +- samples/rest-notes-spring-hateoas/build.gradle | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/samples/rest-notes-slate/build.gradle b/samples/rest-notes-slate/build.gradle index 51b03299..d1331806 100644 --- a/samples/rest-notes-slate/build.gradle +++ b/samples/rest-notes-slate/build.gradle @@ -23,7 +23,7 @@ ext['spring-restdocs.version'] = '3.0.0-SNAPSHOT' dependencies { implementation platform("org.springframework:spring-framework-bom:6.0.0-M2") - implementation platform("org.springframework.data:spring-data-bom:2022.0.0-SNAPSHOT") + implementation platform("org.springframework.data:spring-data-bom:2022.0.0-M1") implementation "com.fasterxml.jackson.core:jackson-databind:2.13.1" implementation "jakarta.servlet:jakarta.servlet-api:5.0.0" implementation "org.hibernate.validator:hibernate-validator:7.0.0.Final" diff --git a/samples/rest-notes-spring-data-rest/pom.xml b/samples/rest-notes-spring-data-rest/pom.xml index 9d1c5b30..73d24fdc 100644 --- a/samples/rest-notes-spring-data-rest/pom.xml +++ b/samples/rest-notes-spring-data-rest/pom.xml @@ -27,7 +27,7 @@ org.springframework.data spring-data-bom - 2022.0.0-SNAPSHOT + 2022.0.0-M1 import pom diff --git a/samples/rest-notes-spring-hateoas/build.gradle b/samples/rest-notes-spring-hateoas/build.gradle index 725b04ba..4158fee1 100644 --- a/samples/rest-notes-spring-hateoas/build.gradle +++ b/samples/rest-notes-spring-hateoas/build.gradle @@ -28,13 +28,14 @@ dependencies { asciidoctorExtensions "org.springframework.restdocs:spring-restdocs-asciidoctor:$restdocsVersion" implementation platform("org.springframework:spring-framework-bom:6.0.0-M2") + implementation platform("org.springframework.data:spring-data-bom:2022.0.0-M1") implementation "com.fasterxml.jackson.core:jackson-databind:2.13.1" implementation "jakarta.servlet:jakarta.servlet-api:5.0.0" implementation "org.hibernate.validator:hibernate-validator:7.0.0.Final" implementation "org.hibernate:hibernate-core-jakarta:5.5.7.Final" implementation "org.springframework:spring-webmvc" - implementation "org.springframework.data:spring-data-jpa:3.0.0-SNAPSHOT" - implementation "org.springframework.hateoas:spring-hateoas:2.0.0-SNAPSHOT" + implementation "org.springframework.data:spring-data-jpa" + implementation "org.springframework.hateoas:spring-hateoas:2.0.0-M1" runtimeOnly 'com.h2database:h2:1.4.200' runtimeOnly 'org.atteo:evo-inflector:1.2.1'