Upload files to "/"

This commit is contained in:
2025-11-30 06:38:23 +00:00
parent 3e980d0ae8
commit 63766e6b3c
4 changed files with 380 additions and 0 deletions

38
build.gradle Normal file
View File

@@ -0,0 +1,38 @@
plugins {
id 'java'
}
group = 'com.wulliestudio'
version = '1.2'
description = 'A Folia-safe teleport plugin with invisibility effects'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
maven {
name = "papermc"
url = "https://repo.papermc.io/repository/maven-public/"
}
}
dependencies {
compileOnly "dev.folia:folia-api:1.21.4-R0.1-SNAPSHOT"
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.release.set(21)
}
jar {
archiveBaseName.set("PlayerUtils")
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}