From 7d62cd890cb44945e772e18cdb457b1173f4f853 Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Wed, 10 Nov 2021 09:34:39 +0100 Subject: Start adding tests --- build.gradle.kts | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index 8032171..738d008 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,12 +14,19 @@ version = "SNAPSHOT" repositories { mavenCentral() + maven("https://repo.spongepowered.org/repository/maven-public/") } dependencies { api("org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.21") implementation(kotlin("stdlib")) api("org.cadixdev:lorenz:0.5.0") + runtimeOnly("net.java.dev.jna:jna:5.10.0") // don't strictly need this but IDEA spams log without + + testImplementation("org.junit.jupiter:junit-jupiter:5.7.1") + testImplementation("io.kotest:kotest-assertions-core:4.6.3") + + testRuntimeOnly("org.spongepowered:mixin:0.8.4") } tasks.named("jar") { @@ -33,3 +40,7 @@ publishing { } } } + +tasks.test { + useJUnitPlatform() +} -- cgit