Skip to content

Commit 0a2580e

Browse files
committed
stopped exporting -0.6.x-compat version of kotlinx-datetime via api()
1 parent c5786cd commit 0a2580e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

core/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ dependencies {
6969
implementation(libs.fastDoubleParser)
7070

7171
api(libs.kotlin.datetimeJvm)
72+
// don't export xxx-0.6.x-compat
73+
implementation(libs.kotlin.datetimeJvm.compat)
74+
7275
implementation(libs.kotlinpoet)
7376
implementation(libs.sl4j)
7477
implementation(libs.kotlinLogging)

gradle/libs.versions.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ mysql = "9.1.0"
3333
postgresql = "42.7.4"
3434
sqlite = "3.47.1.0"
3535
jtsCore = "1.19.0"
36-
kotlinDatetime = "0.7.1-0.6.x-compat"
36+
kotlinDatetimeCompat = "0.7.1-0.6.x-compat"
37+
kotlinDatetime = "0.7.1"
3738
openapi = "2.1.24"
3839
kotlinLogging = "7.0.3"
3940
sl4j = "2.0.16"
@@ -105,6 +106,7 @@ kandy-samples-utils = { group = "org.jetbrains.kotlinx", name = "kandy-samples-u
105106

106107
poi-ooxml = { group = "org.apache.poi", name = "poi-ooxml", version.ref = "poi" }
107108
kotlin-datetimeJvm = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime-jvm", version.ref = "kotlinDatetime" }
109+
kotlin-datetimeJvm-compat = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime-jvm", version.ref = "kotlinDatetimeCompat" }
108110

109111
junit = { group = "junit", name = "junit", version.ref = "junit" }
110112

0 commit comments

Comments
 (0)