Module-NickMiniMessage/build.gradle.kts

62 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-08-25 18:21:04 +00:00
plugins {
java
`maven-publish`
}
repositories {
maven {
url = uri("https://repo.papermc.io/repository/maven-public/")
}
maven {
url = uri("https://nexus.telesphoreo.me/repository/plex/")
}
2024-06-16 00:08:06 +00:00
maven {
url = uri("https://repo.essentialsx.net/snapshots/")
}
2023-08-25 18:21:04 +00:00
mavenCentral()
}
dependencies {
2024-10-16 21:18:38 +00:00
compileOnly("org.projectlombok:lombok:1.18.34")
annotationProcessor("org.projectlombok:lombok:1.18.34")
compileOnly("io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT")
2024-06-16 00:08:06 +00:00
compileOnly("dev.plex:server:1.5-SNAPSHOT")
2024-10-16 21:18:38 +00:00
compileOnly("net.essentialsx:EssentialsX:2.21.0-20241015.111501-81")
2023-08-25 18:21:04 +00:00
}
2023-08-26 00:37:40 +00:00
group = "dev.plex"
2024-10-16 21:26:04 +00:00
version = "1.5"
2023-08-25 19:23:06 +00:00
description = "Module-NickMiniMessage"
2023-08-25 18:21:04 +00:00
java {
2024-06-16 00:08:06 +00:00
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
2023-08-25 18:21:04 +00:00
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}
tasks.getByName<Jar>("jar") {
2023-08-25 19:23:06 +00:00
archiveBaseName.set("Module-NickMiniMessage")
2023-08-25 18:21:04 +00:00
archiveVersion.set("")
}
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
}
2024-10-16 21:26:04 +00:00
}