Skip to content

Commit b1760ca

Browse files
committed
build: Move the Log4j Kotlin API dependency to Kotlin conventions
All of ORT's Kotlin projects should use this Kotlin logger API. Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 6587bcd commit b1760ca

File tree

22 files changed

+2
-23
lines changed

22 files changed

+2
-23
lines changed

buildSrc/src/main/kotlin/ort-kotlin-conventions.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ dependencies {
101101
"detektPlugins"(project(":detekt-rules"))
102102

103103
"detektPlugins"("io.gitlab.arturbosch.detekt:detekt-formatting:${libs.versions.detektPlugin.get()}")
104+
105+
implementation(libs.log4jApiKotlin)
104106
}
105107

106108
detekt {

cli/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ dependencies {
3636
implementation(project(":utils:ort-utils"))
3737

3838
implementation(libs.clikt)
39-
implementation(libs.log4jApiKotlin)
4039
implementation(libs.logbackClassic)
4140
implementation(libs.mordant)
4241
implementation(libs.slf4j)

clients/github-graphql/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ dependencies {
4848

4949
implementation(libs.bundles.kotlinxSerialization)
5050
implementation(libs.graphQlKtorClient)
51-
implementation(libs.log4jApiKotlin)
5251

5352
testImplementation(libs.wiremock)
5453
}

plugins/commands/advisor/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,4 @@ dependencies {
3232

3333
implementation(libs.clikt)
3434
implementation(libs.kotlinxCoroutines)
35-
implementation(libs.log4jApiKotlin)
3635
}

plugins/commands/analyzer/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,4 @@ dependencies {
3434
implementation(project(":utils:ort-utils"))
3535

3636
implementation(libs.clikt)
37-
implementation(libs.log4jApiKotlin)
3837
}

plugins/commands/downloader/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ dependencies {
3333

3434
implementation(libs.clikt)
3535
implementation(libs.kotlinxCoroutines)
36-
implementation(libs.log4jApiKotlin)
3736
}

plugins/commands/evaluator/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ dependencies {
3535
implementation(project(":utils:spdx-utils"))
3636

3737
implementation(libs.clikt)
38-
implementation(libs.log4jApiKotlin)
3938
}

plugins/commands/notifier/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,4 @@ dependencies {
3131
implementation(project(":utils:ort-utils"))
3232

3333
implementation(libs.clikt)
34-
implementation(libs.log4jApiKotlin)
3534
}

plugins/commands/reporter/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ dependencies {
3535

3636
implementation(libs.clikt)
3737
implementation(libs.kotlinxCoroutines)
38-
implementation(libs.log4jApiKotlin)
3938
}

plugins/commands/requirements/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ dependencies {
3636
implementation("org.jetbrains.kotlin:kotlin-reflect")
3737

3838
implementation(libs.clikt)
39-
implementation(libs.log4jApiKotlin)
4039
implementation(libs.reflections)
4140
implementation(libs.semver4j)
4241

0 commit comments

Comments
 (0)