aboutsummaryrefslogtreecommitdiffhomepage
path: root/paper-api-generator/build.gradle.kts
diff options
context:
space:
mode:
authorLulu13022002 <[email protected]>2024-04-27 22:30:15 +0200
committerLulu13022002 <[email protected]>2024-04-27 22:32:16 +0200
commitaf97400701fdabcfc8f4424fce27821a91ff8ad0 (patch)
treeb4aba6e0f69fef9cff6c3cd773fe53c82eb50714 /paper-api-generator/build.gradle.kts
parent711dbd74eafce8c13959584a0e20a2c76209b422 (diff)
downloadPaper-af97400701fdabcfc8f4424fce27821a91ff8ad0.tar.gz
Paper-af97400701fdabcfc8f4424fce27821a91ff8ad0.zip
update generator
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"