aboutsummaryrefslogtreecommitdiffhomepage
path: root/paper-api-generator/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'paper-api-generator/build.gradle.kts')
-rw-r--r--paper-api-generator/build.gradle.kts6
1 files changed, 6 insertions, 0 deletions
diff --git a/paper-api-generator/build.gradle.kts b/paper-api-generator/build.gradle.kts
index 0147a21349..c3deae7adb 100644
--- a/paper-api-generator/build.gradle.kts
+++ b/paper-api-generator/build.gradle.kts
@@ -16,6 +16,8 @@ dependencies {
implementation(project(":paper-api"))
implementation("io.github.classgraph:classgraph:4.8.47")
implementation("org.jetbrains:annotations:24.0.1")
+ testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
+ testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks.register<JavaExec>("generate") {
@@ -24,5 +26,9 @@ tasks.register<JavaExec>("generate") {
args(projectDir.toPath().resolve("generated").toString())
}
+tasks.test {
+ useJUnitPlatform()
+}
+
group = "io.papermc.paper"
version = "1.0-SNAPSHOT"