From a1a2c927667a0782d188c94a14e2bbbdb39a1c12 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Mon, 6 May 2024 22:48:02 +0100 Subject: [PATCH] Update dependencies --- Dockerfile | 2 +- README.md | 6 +++--- build.gradle.kts | 14 +++++++------- gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index da53920..dec458e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM gradle:8-jdk20 AS build +FROM gradle:8-jdk21 AS build USER gradle WORKDIR /app diff --git a/README.md b/README.md index 6a957bc..ba2af6e 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -[![Kotlin](https://img.shields.io/badge/kotlin-1.9.20-blue.svg?logo=kotlin)](http://kotlinlang.org) -[![Ktor](https://img.shields.io/badge/ktor-2.3.6-blue.svg)](https://github.com/ktorio/ktor) +[![Kotlin](https://img.shields.io/badge/kotlin-1.9.23-blue.svg?logo=kotlin)](http://kotlinlang.org) +[![Ktor](https://img.shields.io/badge/ktor-2.3.10-blue.svg)](https://github.com/ktorio/ktor) [![Build](https://github.com/raharrison/kotlin-ktor-exposed-starter/workflows/Build/badge.svg)](https://github.com/raharrison/kotlin-ktor-exposed-starter/actions/workflows/build.yml) [![codecov](https://codecov.io/gh/raharrison/kotlin-ktor-exposed-starter/branch/master/graph/badge.svg?token=v2k9oObm0C)](https://codecov.io/gh/raharrison/kotlin-ktor-exposed-starter) ## Starter project to create a simple RESTful web service in Kotlin -**Updated for Kotlin 1.9.0 and Ktor 2.3.4** +**Updated for Kotlin 1.9.23 and Ktor 2.3.10** Companion article: diff --git a/build.gradle.kts b/build.gradle.kts index 270fa2a..0453994 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,17 +1,17 @@ -val ktorVersion = "2.3.6" -val exposedVersion = "0.44.1" +val ktorVersion = "2.3.10" +val exposedVersion = "0.50.0" val h2Version = "2.2.224" val hikariCpVersion = "5.1.0" -val flywayVersion = "10.0.0" -val logbackVersion = "1.4.11" -val assertjVersion = "3.24.2" -val restAssuredVersion = "5.3.2" +val flywayVersion = "10.11.0" +val logbackVersion = "1.5.6" +val assertjVersion = "3.25.3" +val restAssuredVersion = "5.4.0" val junitVersion = "5.10.1" plugins { kotlin("jvm") version "1.9.20" kotlin("plugin.serialization") version "1.9.20" - id("org.jetbrains.kotlinx.kover") version "0.7.4" + id("org.jetbrains.kotlinx.kover") version "0.7.6" application } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index fae0804..48c0a02 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists