aboutsummaryrefslogtreecommitdiffstats
path: root/common/build.gradle.kts
diff options
context:
space:
mode:
authorKrakenied <krakenied1@gmail.com>2026-01-19 11:24:06 +0100
committerKrakenied <46192742+Krakenied@users.noreply.github.com>2026-01-21 11:43:37 +0100
commit9e4096ec97c8995a0ebc8275ea7a9929a097bb16 (patch)
tree21eb99cb0fa14d56aaeec189766041f96fbde5ed /common/build.gradle.kts
parent6f8d1d3bd8cefe7ec75bd568b5c5a7586ff1db08 (diff)
Prepare for Mojang version mess
New API to be used in server version detection and version specific handlers
Diffstat (limited to 'common/build.gradle.kts')
-rw-r--r--common/build.gradle.kts14
1 files changed, 14 insertions, 0 deletions
diff --git a/common/build.gradle.kts b/common/build.gradle.kts
index d8e3b2cd..259ecad6 100644
--- a/common/build.gradle.kts
+++ b/common/build.gradle.kts
@@ -12,4 +12,18 @@ dependencies {
// Use it for contracts and unmodifiability annotations
api("org.jetbrains:annotations:26.0.2")
+
+ // Testing dependencies
+ testImplementation("org.junit.jupiter:junit-jupiter:6.0.2")
+ testRuntimeOnly("org.junit.platform:junit-platform-launcher")
+}
+
+tasks.named<Test>("test") {
+ useJUnitPlatform()
+
+ maxHeapSize = "1G"
+
+ testLogging {
+ events("passed")
+ }
}