first commit

This commit is contained in:
2026-03-26 11:24:40 +07:00
commit b439a42134
57 changed files with 3271 additions and 0 deletions

41
build.gradle Normal file
View File

@@ -0,0 +1,41 @@
plugins {
id 'java'
}
group = 'org.blz'
version = '1.21.11'
repositories {
mavenCentral()
maven {
name = 'papermc'
url = 'https://repo.papermc.io/repository/maven-public/'
}
}
dependencies {
compileOnly 'io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT'
compileOnly 'net.luckperms:api:5.4'
compileOnly 'com.google.code.gson:gson:2.10.1'
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}
jar {
archiveFileName.set("${project.name}-${project.version}.jar")
}