Upload files to "/"

This commit is contained in:
2025-11-30 06:46:43 +00:00
parent be6263ace5
commit fb4e691e14
4 changed files with 376 additions and 0 deletions

34
build.gradle Normal file
View File

@@ -0,0 +1,34 @@
plugins {
id 'java'
}
group = 'com.wulliesudio.icon'
version = '1.0.0'
repositories {
mavenCentral()
// PaperMC hosts the Folia API here:
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
}
dependencies {
compileOnly 'dev.folia:folia-api:1.21.4-R0.1-SNAPSHOT'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
tasks.jar {
archiveBaseName.set('DynamicServerBanner')
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}