diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9c2201a1b..4e4dd2a9a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,20 +1,20 @@ [versions] -ktor = "2.3.2" # https://ktor.io/ +ktor = "2.3.3" # https://ktor.io/ datetime = "0.4.0" # https://github.com/Kotlin/kotlinx-datetime serialization = "1.5.1" # https://github.com/Kotlin/kotlinx.serialization kotlin = "1.9.0" logback = "1.4.8" # https://logback.qos.ch/download.html node-plugin = "5.0.0" # https://github.com/node-gradle/gradle-node-plugin -coroutines = "1.7.2" # https://github.com/Kotlin/kotlinx.coroutines/ -exposed = "0.41.1" # https://github.com/JetBrains/Exposed +coroutines = "1.7.3" # https://github.com/Kotlin/kotlinx.coroutines/ +exposed = "0.42.0" # https://github.com/JetBrains/Exposed telegram-bot = "6.0.7" # https://github.com/kotlin-telegram-bot/kotlin-telegram-bot shadow-plugin = "8.1.1" # https://github.com/johnrengelman/shadow sqlite = "3.42.0.0" # https://github.com/xerial/sqlite-jdbc -clikt = "4.0.0" # https://ajalt.github.io/clikt/ +clikt = "4.2.0" # https://ajalt.github.io/clikt/ immutable = "0.3.5" # https://github.com/Kotlin/kotlinx.collections.immutable -protobuf-plugin = "0.9.3" # https://github.com/google/protobuf-gradle-plugin -protobuf = "3.23.2" -grpc = "1.55.1" # https://github.com/grpc/grpc +protobuf-plugin = "0.9.4" # https://github.com/google/protobuf-gradle-plugin +protobuf = "3.23.4" +grpc = "1.55.3" # https://github.com/grpc/grpc grpc-kotlin = "1.3.0" # https://github.com/grpc/grpc-kotlin dokka = "1.8.20" # https://github.com/Kotlin/dokka @@ -44,7 +44,6 @@ ktor-server-websockets = { version.ref = "ktor", group = "io.ktor", nam kotlinx-datetime = { version.ref = "datetime", group = "org.jetbrains.kotlinx", name = "kotlinx-datetime" } kotlinx-serialization-json = { version.ref = "serialization", group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json" } kotlinx-serialization-properties = { version.ref = "serialization", group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-properties" } -kotlinx-serialization-protobuf = { version.ref = "serialization", group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-protobuf" } kotlinx-coroutines-core = { version.ref = "coroutines", group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core" } kotlinx-collections-immutable = { version.ref = "immutable", group = "org.jetbrains.kotlinx", name = "kotlinx-collections-immutable"} diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index c1962a79e..033e24c4c 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a36387743..9f4197d5f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index aeb74cbb4..fcb6fca14 100755 --- a/gradlew +++ b/gradlew @@ -130,10 +130,13 @@ location of your Java installation." fi else JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." + fi fi # Increase the maximum file descriptors if we can.