From b1fd923deb38818554c505e5fbfe0493a9439156 Mon Sep 17 00:00:00 2001 From: Shreck Ye Date: Thu, 14 Mar 2024 23:05:36 +0800 Subject: [PATCH] Update/Bump the dependency versions to the latest, including the build dependencies and those in `CommonVersions` --- buildSrc/build.gradle.kts | 2 +- .../main/kotlin/VersionsAndDependencies.kt | 6 ++-- .../kotlin/com/huanshankeji/CommonVersions.kt | 28 +++++++++---------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 50f38da..694b983 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -25,7 +25,7 @@ dependencies { } */ // for `KotlinCompilationTask` and the version is for Compose 1.5.1 - implementation(kotlin("gradle-plugin", "1.9.22")) + implementation(kotlin("gradle-plugin", "1.9.23")) implementation("org.gradle.kotlin:gradle-kotlin-dsl-plugins:4.2.1") // This version has to be used for Gradle 8.6. implementation("com.gradle.publish:plugin-publish-plugin:1.2.1") diff --git a/buildSrc/src/main/kotlin/VersionsAndDependencies.kt b/buildSrc/src/main/kotlin/VersionsAndDependencies.kt index 0440fdf..dbaba6f 100644 --- a/buildSrc/src/main/kotlin/VersionsAndDependencies.kt +++ b/buildSrc/src/main/kotlin/VersionsAndDependencies.kt @@ -4,13 +4,13 @@ import com.huanshankeji.CommonVersions val commonVersions = CommonVersions() val commonGradleClasspathDependencies = CommonGradleClasspathDependencies(commonVersions) -val kotlinVersion = "1.9.20" // for Compose 1.4.0 // TODO remove this comment +val kotlinVersion = "1.9.23" // for Compose 1.6.1 -val alignedPluginVersion = "0.5.0-SNAPSHOT" +val alignedPluginVersion = "0.5.1-SNAPSHOT" // "x.y.z" indicates the version of the way of organizing the code, // and the date indicates the version when the dependency versions are updated. -val commonGradleDependenciesVersion = "0.7.1-20231111-SNAPSHOT" +val commonGradleDependenciesVersion = "0.7.1-20240314-boostrap-SNAPSHOT" // This is the source dependency version. There is another build source dependency in "buildSrc/build.gradle.kts". val pluginProjectSourceDependentStableCommonGradleDependenciesVersion = "0.7.1-20231111".apply { diff --git a/common-gradle-dependencies/src/main/kotlin/com/huanshankeji/CommonVersions.kt b/common-gradle-dependencies/src/main/kotlin/com/huanshankeji/CommonVersions.kt index 465db30..dbf38aa 100644 --- a/common-gradle-dependencies/src/main/kotlin/com/huanshankeji/CommonVersions.kt +++ b/common-gradle-dependencies/src/main/kotlin/com/huanshankeji/CommonVersions.kt @@ -7,20 +7,20 @@ class CommonVersions @JvmOverloads constructor( val kotlinCommon: String = "0.3.0", - val kotlinxCoroutines: String = "1.7.3", - val kotlinxHtml: String = "0.9.1", - val kotlinxSerialization: String = "1.6.0", - val kotlinxDatetime: String = "0.4.1", - val kotlinxBenchmark: String = "0.4.9", - val exposed: String = "0.44.1", - val ktor: String = "2.3.6", - val composeMultiplatform: String = "1.5.10", // this is usually only used in classpath dependencies + val kotlinxCoroutines: String = "1.8.0", + val kotlinxHtml: String = "0.11.0", + val kotlinxSerialization: String = "1.6.3", + val kotlinxDatetime: String = "0.5.0", + val kotlinxBenchmark: String = "0.4.10", + val exposed: String = "0.48.0", + val ktor: String = "2.3.9", + val composeMultiplatform: String = "1.6.1", // this is usually only used in classpath dependencies - val vertx: String = "4.4.6", // TODO bump to "4.5.0". There are some breaking changes however. See https://github.com/vert-x3/wiki/wiki/4.5.0-Deprecations-and-breaking-changes. - val arrow: String = "1.2.1", - val orgJunit: String = "5.10.1", - val kotest: String = "5.8.0", - val postgreSql: String = "42.6.0", + val vertx: String = "4.5.5", + val arrow: String = "1.2.3", + val orgJunit: String = "5.10.2", + val kotest: String = "5.8.1", + val postgreSql: String = "42.7.2", val slf4j: String = "1.7.36", // TODO: consider replacing with kotlin-logging (https://github.com/oshai/kotlin-logging) - val testContainers: String = "1.19.1" + val testContainers: String = "1.19.7" ) \ No newline at end of file