diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 5c9a3c3..1996da3 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,10 @@ dependencies { minecraft "com.mojang:minecraft:${project.minecraft_version}" mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" + + + testImplementation ("org.junit.jupiter:junit-jupiter:5.7.1") + testRuntimeOnly ("org.junit.platform:junit-platform-launcher") } processResources { @@ -32,6 +36,10 @@ tasks.withType(JavaCompile).configureEach { it.options.release = 21 } +tasks.withType(Test).configureEach { + useJUnitPlatform() +} + java { withSourcesJar() |