diff options
author | Jonas Herzig <jonas@spark-squared.com> | 2021-11-10 09:34:39 +0100 |
---|---|---|
committer | Jonas Herzig <jonas@spark-squared.com> | 2021-11-10 18:11:16 +0100 |
commit | 7d62cd890cb44945e772e18cdb457b1173f4f853 (patch) | |
tree | e6f0e969442f464556289a090769e966bc0e2efe /build.gradle.kts | |
parent | 89e079621c7867036d4ac77b018ad904d21364b5 (diff) | |
download | Remap-7d62cd890cb44945e772e18cdb457b1173f4f853.tar.gz Remap-7d62cd890cb44945e772e18cdb457b1173f4f853.tar.bz2 Remap-7d62cd890cb44945e772e18cdb457b1173f4f853.zip |
Start adding tests
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 11 |
1 files changed, 11 insertions, 0 deletions
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>("jar") { @@ -33,3 +40,7 @@ publishing { } } } + +tasks.test { + useJUnitPlatform() +} |