From d3f3466faf37057e576ca8e27af8029554bb146a Mon Sep 17 00:00:00 2001 From: waltkb <68587968+waltkb@users.noreply.github.com> Date: Mon, 2 Oct 2023 12:29:01 +0200 Subject: [PATCH] Update dependencies --- build.gradle.kts | 10 ++++++---- src/main/kotlin/id/walt/nftkit/opa/OPAPolicyEngine.kt | 2 +- src/main/kotlin/id/walt/nftkit/rest/NftKitApi.kt | 3 +-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index a0ee1d68..89ad458f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,6 +7,8 @@ plugins { application `maven-publish` id("com.expediagroup.graphql") version "6.5.3" + + id("com.github.ben-manes.versions") version "0.48.0" } group = "id.walt" @@ -33,12 +35,12 @@ dependencies { // Logging implementation("org.slf4j:slf4j-api:2.0.9") implementation("org.slf4j:slf4j-simple:2.0.9") - implementation("io.github.microutils:kotlin-logging:4.0.0-beta-2") + implementation("io.github.oshai:kotlin-logging-jvm:5.1.0") // Config: Hoplite - implementation("com.sksamuel.hoplite:hoplite-core:2.8.0.RC2") - implementation("com.sksamuel.hoplite:hoplite-yaml:2.8.0.RC2") - implementation("com.sksamuel.hoplite:hoplite-hikaricp:2.8.0.RC2") + implementation("com.sksamuel.hoplite:hoplite-core:2.8.0.RC3") + implementation("com.sksamuel.hoplite:hoplite-yaml:2.8.0.RC3") + implementation("com.sksamuel.hoplite:hoplite-hikaricp:2.8.0.RC3") // HTTP / Server: Javalin implementation("io.javalin:javalin-bundle:4.6.8") diff --git a/src/main/kotlin/id/walt/nftkit/opa/OPAPolicyEngine.kt b/src/main/kotlin/id/walt/nftkit/opa/OPAPolicyEngine.kt index 3e189700..418ae605 100644 --- a/src/main/kotlin/id/walt/nftkit/opa/OPAPolicyEngine.kt +++ b/src/main/kotlin/id/walt/nftkit/opa/OPAPolicyEngine.kt @@ -4,7 +4,7 @@ import com.beust.klaxon.JsonObject import com.beust.klaxon.Klaxon import com.beust.klaxon.Parser import id.walt.nftkit.common.resolveContentToFile -import mu.two.KotlinLogging +import io.github.oshai.kotlinlogging.KotlinLogging import java.io.File object OPAPolicyEngine : PolicyEngine { diff --git a/src/main/kotlin/id/walt/nftkit/rest/NftKitApi.kt b/src/main/kotlin/id/walt/nftkit/rest/NftKitApi.kt index a9f8d61b..fb2429c0 100644 --- a/src/main/kotlin/id/walt/nftkit/rest/NftKitApi.kt +++ b/src/main/kotlin/id/walt/nftkit/rest/NftKitApi.kt @@ -11,6 +11,7 @@ import com.fasterxml.jackson.databind.exc.InvalidFormatException import id.walt.nftkit.Values import id.walt.nftkit.rest.RootController.healthDocs import id.walt.rest.OpenAPIUtils.documentedIgnored +import io.github.oshai.kotlinlogging.KotlinLogging import io.javalin.Javalin import io.javalin.apibuilder.ApiBuilder.* import io.javalin.core.util.RouteOverviewPlugin @@ -26,8 +27,6 @@ import io.swagger.v3.oas.models.OpenAPI import io.swagger.v3.oas.models.info.Contact import io.swagger.v3.oas.models.security.SecurityScheme import io.swagger.v3.oas.models.servers.Server -import mu.two.KotlinLogging - object NftKitApi { private val log = KotlinLogging.logger {}