Skip to content

Commit

Permalink
chore(gradle): use correct plugin dependency version everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
xeruf committed Jun 15, 2024
1 parent 25a73f8 commit ead6e8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion helpers/test-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ application {
mainClass.set("sc.TestClient")
}

val year: String by project
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"))
runtimeOnly(project(":plugin$year"))
}

tasks {
Expand Down
4 changes: 2 additions & 2 deletions player/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ application {
}

dependencies {
implementation(project(":plugin"))
implementation(project(":plugin$year"))
implementation(kotlin("script-runtime"))
implementation("ch.qos.logback", "logback-classic", "1.3.11") // Update to 1.4 with JDK upgrade
}
Expand All @@ -37,7 +37,7 @@ tasks {
dependsOn(":sdk:doc", ":plugin$year:doc")
into(buildDir.resolve("zip"))
with(copySpec {
from(project(":plugin").buildDir.resolve("doc"))
from(project(":plugin$year").buildDir.resolve("doc"))
into("doc/plugin-$gameName")
}, copySpec {
from(project(":sdk").buildDir.resolve("doc"))
Expand Down
3 changes: 2 additions & 1 deletion server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ application {
)
}

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

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

Expand Down

0 comments on commit ead6e8d

Please sign in to comment.