We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7de0aac commit 8fb5892Copy full SHA for 8fb5892
1 file changed
build.gradle.kts
@@ -1,5 +1,6 @@
1
plugins {
2
java
3
+ jacoco
4
`java-library`
5
`maven-publish`
6
}
@@ -17,13 +18,26 @@ dependencies {
17
18
api(libs.minestom)
19
compileOnly(libs.junit.params)
20
compileOnly(libs.junit.api)
21
+
22
+ testImplementation(libs.junit.api)
23
+ testImplementation(libs.junit.params)
24
+ testImplementation(libs.junit.platform.launcher)
25
+ testRuntimeOnly(libs.junit.engine)
26
27
28
tasks {
29
compileJava {
30
options.encoding = "UTF-8"
31
options.release.set(21)
32
33
34
+ test {
35
+ useJUnitPlatform()
36
+ jvmArgs("-Dminestom.inside-test=true")
37
+ testLogging {
38
+ events("passed", "skipped", "failed")
39
+ }
40
41
42
43
publishing {
0 commit comments