Skip to content

Commit

Permalink
chore(gradle): list logback dependency individually
Browse files Browse the repository at this point in the history
  • Loading branch information
xeruf committed Sep 4, 2023
1 parent 3b1331b commit 1ed177c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ subprojects {

dependencies {
testImplementation(project(":sdk", "testConfig"))
if(name in listOf("server", "player", "test-client"))
implementation("ch.qos.logback", "logback-classic", "1.3.11") // Update to 1.4 with JDK upgrade
}

tasks {
Expand Down
1 change: 1 addition & 0 deletions helpers/test-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ application {
dependencies {
implementation(project(":sdk"))
implementation(project(":server")) // Only to access defaults of sc.server.Configuration
implementation("ch.qos.logback", "logback-classic", "1.3.11") // Update to 1.4 with JDK upgrade
runtimeOnly(project(":plugin"))
}

Expand Down
3 changes: 2 additions & 1 deletion player/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import java.time.Duration
import org.gradle.internal.os.OperatingSystem
import java.time.Duration

plugins {
application
Expand All @@ -24,6 +24,7 @@ application {
dependencies {
implementation(project(":plugin"))
implementation(kotlin("script-runtime"))
implementation("ch.qos.logback", "logback-classic", "1.3.11") // Update to 1.4 with JDK upgrade
}

tasks {
Expand Down
3 changes: 2 additions & 1 deletion server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ application {

dependencies {
api(project(":sdk"))
runtimeOnly(project(":plugin"))
implementation("ch.qos.logback", "logback-classic", "1.3.11") // Update to 1.4 with JDK upgrade

runtimeOnly(project(":plugin"))
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") // legacy java tests
}

Expand Down

0 comments on commit 1ed177c

Please sign in to comment.