diff --git a/quotes-backend/build.gradle.kts b/quotes-backend/build.gradle.kts index 0e6dc75..a9944f2 100644 --- a/quotes-backend/build.gradle.kts +++ b/quotes-backend/build.gradle.kts @@ -1,7 +1,7 @@ plugins { - kotlin("jvm") version "2.2.21" - kotlin("plugin.serialization") version "2.2.21" - id("io.ktor.plugin") version "3.3.3" + kotlin("jvm") version "2.3.0" + kotlin("plugin.serialization") version "2.3.0" + id("io.ktor.plugin") version "3.4.0" application id("com.github.ben-manes.versions") version "0.53.0" } @@ -29,15 +29,15 @@ repositories { maven("https://jitpack.io") // For Ktor-OpenAPI-Generator } -val ktorVersion = "3.3.3" -val kotlinxSerializationVersion = "1.9.0" -val logbackVersion = "1.5.22" +val ktorVersion = "3.4.0" +val kotlinxSerializationVersion = "1.10.0" +val logbackVersion = "1.5.27" val logstashLogbackEncoderVersion = "9.0" -val opentelemetryVersion = "2.23.0-alpha" -val kotlinTestVersion = "2.2.21" -val exposedVersion = "0.57.0" -val postgresqlVersion = "42.7.5" -val hikariVersion = "6.2.1" +val opentelemetryVersion = "2.24.0-alpha" +val kotlinTestVersion = "2.3.0" +val exposedVersion = "1.0.0" +val postgresqlVersion = "42.7.9" +val hikariVersion = "7.0.2" dependencies { // Ktor @@ -74,7 +74,7 @@ dependencies { testImplementation("io.ktor:ktor-client-content-negotiation:$ktorVersion") testImplementation("io.ktor:ktor-client-mock:$ktorVersion") testImplementation("org.jetbrains.kotlin:kotlin-test:$kotlinTestVersion") - testImplementation("com.h2database:h2:2.3.232") + testImplementation("com.h2database:h2:2.4.240") } tasks.withType { diff --git a/quotes-backend/gradle/wrapper/gradle-wrapper.jar b/quotes-backend/gradle/wrapper/gradle-wrapper.jar index 1b33c55..61285a6 100644 Binary files a/quotes-backend/gradle/wrapper/gradle-wrapper.jar and b/quotes-backend/gradle/wrapper/gradle-wrapper.jar differ diff --git a/quotes-backend/gradle/wrapper/gradle-wrapper.properties b/quotes-backend/gradle/wrapper/gradle-wrapper.properties index 002b867..37f78a6 100644 --- a/quotes-backend/gradle/wrapper/gradle-wrapper.properties +++ b/quotes-backend/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/quotes-backend/gradlew b/quotes-backend/gradlew index 23d15a9..adff685 100755 --- a/quotes-backend/gradlew +++ b/quotes-backend/gradlew @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright © 2015-2021 the original authors. +# Copyright © 2015 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -114,7 +114,6 @@ case "$( uname )" in #( NONSTOP* ) nonstop=true ;; esac -CLASSPATH="\\\"\\\"" # Determine the Java command to use to start the JVM. @@ -172,7 +171,6 @@ fi # For Cygwin or MSYS, switch paths to Windows format before running java if "$cygwin" || "$msys" ; then APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) JAVACMD=$( cygpath --unix "$JAVACMD" ) @@ -212,7 +210,6 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ "$@" diff --git a/quotes-backend/gradlew.bat b/quotes-backend/gradlew.bat old mode 100644 new mode 100755 index 5eed7ee..e509b2d --- a/quotes-backend/gradlew.bat +++ b/quotes-backend/gradlew.bat @@ -70,11 +70,10 @@ goto fail :execute @rem Setup the command line -set CLASSPATH= @rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* :end @rem End local scope for the variables with windows NT shell