Skip to content

Commit 71a8285

Browse files
committed
Fixed dependencies conflicted
1 parent 7ef8ae7 commit 71a8285

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED
44

55
plugins {
66
`maven-publish`
7+
`kotlin-dsl`
78
kotlin("jvm") version "1.7.22"
89
}
910

@@ -39,7 +40,7 @@ dependencies {
3940
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.14.0")
4041
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.0")
4142

42-
implementation("org.springframework.boot:spring-boot-starter-logging:2.7.2")
43+
implementation("org.springframework.boot:spring-boot-starter-log4j2:2.7.2")
4344

4445
testImplementation("org.junit.jupiter:junit-jupiter:5.9.0")
4546
testImplementation("org.mockito.kotlin:mockito-kotlin:4.1.0")

src/main/kotlin/com/softwareplace/json/logger/log/JsonLogger.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import org.slf4j.Logger
77
import org.slf4j.LoggerFactory
88

99

10-
inline fun <reified T : Any> T.logger() = LoggerFactory.getLogger(T::class.java)
10+
inline fun <reified T : Any> T.logger(): Logger = LoggerFactory.getLogger(T::class.java)
1111

1212
private data class LoggerModel(
1313
val message: String?,

0 commit comments

Comments
 (0)