From dcd1c6c1b39bbd127dbb8f7434dbe04a5620c24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Vi=C3=B1as=20Alcon?= Date: Fri, 10 Nov 2023 11:19:40 +0100 Subject: [PATCH] Update springboot-app (#48) --- .github/workflows/springboot.yml | 2 +- springboot-app/README.md | 5 +++++ springboot-app/build.gradle.kts | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/springboot.yml b/.github/workflows/springboot.yml index df8db76..d573538 100644 --- a/.github/workflows/springboot.yml +++ b/.github/workflows/springboot.yml @@ -25,7 +25,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: Build with Gradle uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a diff --git a/springboot-app/README.md b/springboot-app/README.md index f4d133a..7f6eab8 100644 --- a/springboot-app/README.md +++ b/springboot-app/README.md @@ -1,3 +1,8 @@ +[![SpringBoot](https://github.com/rogervinas/top-5-server-side-kotlin-frameworks-2022/actions/workflows/springboot.yml/badge.svg)](https://github.com/rogervinas/top-5-server-side-kotlin-frameworks-2022/actions/workflows/springboot.yml) +![Java](https://img.shields.io/badge/Java-21-blue?labelColor=black) +![Kotlin](https://img.shields.io/badge/Kotlin-1.9.20-blue?labelColor=black) +![WireMock](https://img.shields.io/badge/SpringBoot-3.1.5-blue?labelColor=black) + # Spring Boot We can create a project using [Spring Initialzr](https://start.spring.io/#!type=gradle-project-kotlin&language=kotlin&platformVersion=3.0.1&packaging=jar&jvmVersion=17&groupId=org.rogervinas&artifactId=springboot-app&name=springboot-app&description=Demo%20project%20for%20Spring%20Boot&packageName=org.rogervinas.springboot-app&dependencies=webflux,cloud-starter-vault-config,jdbc) and download it locally. diff --git a/springboot-app/build.gradle.kts b/springboot-app/build.gradle.kts index b36a379..b21b0a0 100644 --- a/springboot-app/build.gradle.kts +++ b/springboot-app/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("org.springframework.boot") version "3.0.1" + id("org.springframework.boot") version "3.1.5" id("io.spring.dependency-management") version "1.1.3" kotlin("jvm") version "1.9.20" kotlin("plugin.spring") version "1.9.20" @@ -7,13 +7,13 @@ plugins { group = "org.rogervinas" version = "0.0.1-SNAPSHOT" -java.sourceCompatibility = JavaVersion.VERSION_17 +java.sourceCompatibility = JavaVersion.VERSION_21 repositories { mavenCentral() } -extra["springCloudVersion"] = "2022.0.0" +extra["springCloudVersion"] = "2022.0.4" dependencies { implementation("org.springframework.boot:spring-boot-starter-webflux") @@ -45,7 +45,7 @@ dependencyManagement { tasks.withType { kotlinOptions { freeCompilerArgs = listOf("-Xjsr305=strict") - jvmTarget = "17" + jvmTarget = "21" } }