diff --git a/buildSrc/src/main/kotlin/Libs.kt b/buildSrc/src/main/kotlin/Libs.kt index 22f25c9b4..d15c4c853 100644 --- a/buildSrc/src/main/kotlin/Libs.kt +++ b/buildSrc/src/main/kotlin/Libs.kt @@ -32,17 +32,17 @@ object Libs { } object Coroutines { - private const val version = "1.6.1" + private const val version = "1.6.4" const val core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$version" const val jdk8 = "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$version" } object Caffeine { - const val caffeine = "com.github.ben-manes.caffeine:caffeine:3.0.6" + const val caffeine = "com.github.ben-manes.caffeine:caffeine:3.1.1" } object Serialization { - const val json = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2" + const val json = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0" } object JsonPath { @@ -50,7 +50,7 @@ object Libs { } object Jackson { - private const val version = "2.13.2" + private const val version = "2.13.3" const val core = "com.fasterxml.jackson.core:jackson-core:$version" const val databind = "com.fasterxml.jackson.core:jackson-databind:$version" const val kotlin = "com.fasterxml.jackson.module:jackson-module-kotlin:$version" @@ -58,13 +58,13 @@ object Libs { } object Kotest { - private const val version = "5.2.3" + private const val version = "5.4.2" const val property = "io.kotest:kotest-property-jvm:$version" const val junit5 = "io.kotest:kotest-runner-junit5-jvm:$version" } object Mockk { - const val mockk = "io.mockk:mockk:1.12.3" + const val mockk = "io.mockk:mockk:1.12.7" } object Avro4k { @@ -72,13 +72,13 @@ object Libs { } object Hoplite { - private const val version = "2.1.2" + private const val version = "2.6.1" const val core = "com.sksamuel.hoplite:hoplite-core:$version" const val yaml = "com.sksamuel.hoplite:hoplite-yaml:$version" } object Pulsar { - private const val version = "2.10.0" + private const val version = "2.10.1" const val client = "org.apache.pulsar:pulsar-client:$version" const val clientAdmin = "org.apache.pulsar:pulsar-client-admin:$version" const val functions = "org.apache.pulsar:pulsar-functions-api:$version" @@ -87,7 +87,7 @@ object Libs { } object Kweb { - const val core = "com.github.kwebio:kweb-core:0.11.2" + const val core = "com.github.kwebio:kweb-core:0.11.5" } object EasyRandom { @@ -101,6 +101,6 @@ object Libs { } object Logging { - const val api = "io.github.microutils:kotlin-logging:2.1.21" + const val api = "io.github.microutils:kotlin-logging:2.1.23" } } diff --git a/buildSrc/src/main/kotlin/Plugins.kt b/buildSrc/src/main/kotlin/Plugins.kt index d1c78e619..825ef259b 100644 --- a/buildSrc/src/main/kotlin/Plugins.kt +++ b/buildSrc/src/main/kotlin/Plugins.kt @@ -23,7 +23,7 @@ * Licensor: infinitic.io */ -const val kotlinVersion = "1.6.21" +const val kotlinVersion = "1.7.10" object Plugins { object Kotlin { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index aa991fcea..ae04661ee 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-7.4.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/infinitic-common/src/main/kotlin/io/infinitic/common/serDe/kserializer/DurationSerializer.kt b/infinitic-common/src/main/kotlin/io/infinitic/common/serDe/kserializer/DurationSerializer.kt index 0088ddc09..4f3f274a1 100644 --- a/infinitic-common/src/main/kotlin/io/infinitic/common/serDe/kserializer/DurationSerializer.kt +++ b/infinitic-common/src/main/kotlin/io/infinitic/common/serDe/kserializer/DurationSerializer.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.Encoder import java.time.Duration object DurationSerializer : KSerializer { - override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("Duration", PrimitiveKind.LONG) + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("DurationLong", PrimitiveKind.LONG) override fun serialize(encoder: Encoder, value: Duration) { encoder.encodeLong(value.toMillis()) } override fun deserialize(decoder: Decoder): Duration = Duration.ofMillis(decoder.decodeLong()) } diff --git a/infinitic-storage-mysql/build.gradle.kts b/infinitic-storage-mysql/build.gradle.kts index 5d045512e..99cdad20d 100644 --- a/infinitic-storage-mysql/build.gradle.kts +++ b/infinitic-storage-mysql/build.gradle.kts @@ -26,9 +26,9 @@ dependencies { // For connection pooling implementation("com.zaxxer:HikariCP:5.0.1") - implementation("mysql:mysql-connector-java:8.0.29") + implementation("mysql:mysql-connector-java:8.0.30") // For integration tests - testImplementation("org.testcontainers:mysql:1.17.1") + testImplementation("org.testcontainers:mysql:1.17.3") implementation(Libs.Hoplite.core)