aboutsummaryrefslogtreecommitdiffhomepage
path: root/Paper-MojangAPI/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'Paper-MojangAPI/build.gradle.kts')
-rw-r--r--Paper-MojangAPI/build.gradle.kts36
1 files changed, 0 insertions, 36 deletions
diff --git a/Paper-MojangAPI/build.gradle.kts b/Paper-MojangAPI/build.gradle.kts
deleted file mode 100644
index e60be45e25..0000000000
--- a/Paper-MojangAPI/build.gradle.kts
+++ /dev/null
@@ -1,36 +0,0 @@
-plugins {
- `java-library`
- `maven-publish`
-}
-
-java {
- withSourcesJar()
- withJavadocJar()
-}
-
-dependencies {
- implementation(project(":paper-api"))
- api("com.mojang:brigadier:1.0.18")
-
- compileOnly("it.unimi.dsi:fastutil:8.5.6")
- compileOnly("org.jetbrains:annotations:23.0.0")
-
- testImplementation("junit:junit:4.13.2")
- testImplementation("org.hamcrest:hamcrest-library:1.3")
- testImplementation("org.ow2.asm:asm-tree:9.7")
-}
-
-configure<PublishingExtension> {
- publications.create<MavenPublication>("maven") {
- from(components["java"])
- }
-}
-
-val scanJar = tasks.register("scanJarForBadCalls", io.papermc.paperweight.tasks.ScanJarForBadCalls::class) {
- badAnnotations.add("Lio/papermc/paper/annotation/DoNotUse;")
- jarToScan.set(tasks.jar.flatMap { it.archiveFile })
- classpath.from(configurations.compileClasspath)
-}
-tasks.check {
- dependsOn(scanJar)
-}