Skip to content

Commit

Permalink
deps: Upgrade the ks3 library to version 0.6.0
Browse files Browse the repository at this point in the history
See [1]. Migrate from the deprecated "typealias" package to "typealiases"
as part of the upgrade to avoid compiler warnings.

[1]: https://github.com/Kantis/ks3/releases/tag/v0.6.0

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Mar 14, 2024
1 parent 494a324 commit e16b6f9
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions clients/clearly-defined/src/main/kotlin/Curation.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

package org.ossreviewtoolkit.clients.clearlydefined

import io.ks3.java.`typealias`.FileAsString
import io.ks3.java.`typealias`.UriAsString
import io.ks3.java.typealiases.FileAsString
import io.ks3.java.typealiases.UriAsString

import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement
Expand Down
4 changes: 2 additions & 2 deletions clients/clearly-defined/src/main/kotlin/Definition.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

package org.ossreviewtoolkit.clients.clearlydefined

import io.ks3.java.`typealias`.FileAsString
import io.ks3.java.`typealias`.UriAsString
import io.ks3.java.typealiases.FileAsString
import io.ks3.java.typealiases.UriAsString

import kotlinx.serialization.Serializable

Expand Down
2 changes: 1 addition & 1 deletion clients/nexus-iq/src/main/kotlin/NexusIqService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package org.ossreviewtoolkit.clients.nexusiq

import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory

import io.ks3.java.`typealias`.UriAsString
import io.ks3.java.typealiases.UriAsString

import java.util.UUID

Expand Down
2 changes: 1 addition & 1 deletion clients/osv/src/main/kotlin/Model.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package org.ossreviewtoolkit.clients.osv

import io.ks3.java.`typealias`.InstantAsString
import io.ks3.java.typealiases.InstantAsString

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
Expand Down
2 changes: 1 addition & 1 deletion clients/osv/src/main/kotlin/OsvApiClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package org.ossreviewtoolkit.clients.osv

import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory

import io.ks3.java.`typealias`.InstantAsString
import io.ks3.java.typealiases.InstantAsString

import java.util.concurrent.Executors

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ kotest = "5.8.1"
kotlinxCoroutines = "1.8.0"
kotlinxHtml = "0.11.0"
kotlinxSerialization = "1.6.3"
ks3 = "0.5.0"
ks3 = "0.6.0"
tomlkt = "0.3.7"
ktor = "2.3.9"
log4jApi = "2.23.1"
Expand Down

0 comments on commit e16b6f9

Please sign in to comment.