Skip to content

Commit ead6e8d

Browse files
committed
chore(gradle): use correct plugin dependency version everywhere
1 parent 25a73f8 commit ead6e8d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

helpers/test-client/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ application {
1313
mainClass.set("sc.TestClient")
1414
}
1515

16+
val year: String by project
1617
dependencies {
1718
implementation(project(":sdk"))
1819
implementation(project(":server")) // Only to access defaults of sc.server.Configuration
1920
implementation("ch.qos.logback", "logback-classic", "1.3.11") // Update to 1.4 with JDK upgrade
20-
runtimeOnly(project(":plugin"))
21+
runtimeOnly(project(":plugin$year"))
2122
}
2223

2324
tasks {

player/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ application {
2222
}
2323

2424
dependencies {
25-
implementation(project(":plugin"))
25+
implementation(project(":plugin$year"))
2626
implementation(kotlin("script-runtime"))
2727
implementation("ch.qos.logback", "logback-classic", "1.3.11") // Update to 1.4 with JDK upgrade
2828
}
@@ -37,7 +37,7 @@ tasks {
3737
dependsOn(":sdk:doc", ":plugin$year:doc")
3838
into(buildDir.resolve("zip"))
3939
with(copySpec {
40-
from(project(":plugin").buildDir.resolve("doc"))
40+
from(project(":plugin$year").buildDir.resolve("doc"))
4141
into("doc/plugin-$gameName")
4242
}, copySpec {
4343
from(project(":sdk").buildDir.resolve("doc"))

server/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ application {
1111
)
1212
}
1313

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

18-
runtimeOnly(project(":plugin"))
19+
runtimeOnly(project(":plugin$year"))
1920
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") // legacy java tests
2021
}
2122

0 commit comments

Comments
 (0)