Skip to content

Commit

Permalink
centralize jna, junit5 versions for facade
Browse files Browse the repository at this point in the history
  • Loading branch information
soloturn committed Oct 23, 2024
1 parent d900f1b commit 65f5319
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion engine/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ dependencies {
api("org.codehaus.plexus:plexus-utils:3.0.16")

// Java magic
implementation("net.java.dev.jna:jna-platform:5.6.0")
implementation(libs.jna.platform)
implementation("org.terasology:reflections:0.9.12-MB")
implementation("com.esotericsoftware:reflectasm:1.11.9")

Expand Down
8 changes: 4 additions & 4 deletions facades/PC/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ logger.info("PC VERSION: {}", version)
group = "org.terasology.facades"

dependencies {
implementation(group = "net.java.dev.jna", name = "jna-platform", version = "5.6.0")
implementation(libs.jna.platform)
implementation(group = "info.picocli", name = "picocli", version = "4.5.2")
annotationProcessor("info.picocli:picocli-codegen:4.5.2")

Expand All @@ -82,9 +82,9 @@ dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.1")) {
// junit-bom will set version numbers for the other org.junit dependencies.
}
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation(libs.junit.api)
testImplementation(libs.junit.params)
testRuntimeOnly(libs.junit.engine)

testImplementation("com.google.truth:truth:1.1.2")
testImplementation("com.google.truth.extensions:truth-java8-extension:1.1.2")
Expand Down
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencyResolutionManagement {
library("gestalt-util", "org.terasology.gestalt", "gestalt-util" ).versionRef(gestalt)
library("gson", "com.google.code.gson:gson:2.8.6")
library("guava", "com.google.guava:guava:31.1-jre")
library("jna-platform", "net.java.dev.jna:jna-platform:5.6.0")
val junit5 = version("junit5", "5.10.1")
library("junit-api", "org.junit.jupiter", "junit-jupiter-api").versionRef(junit5)
library("junit-engine", "org.junit.jupiter", "junit-jupiter-engine").versionRef(junit5)
Expand Down

0 comments on commit 65f5319

Please sign in to comment.