Module-NickMiniMessage/build.gradle.kts

57 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/")
}
mavenCentral()
}
dependencies {
compileOnly("org.projectlombok:lombok:1.18.28")
annotationProcessor("org.projectlombok:lombok:1.18.28")
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
2023-08-26 00:37:40 +00:00
compileOnly("dev.plex:server:1.4-SNAPSHOT")
compileOnly("net.essentialsx:EssentialsX:2.21.0-SNAPSHOT")
2023-08-25 18:21:04 +00:00
}
2023-08-26 00:37:40 +00:00
group = "dev.plex"
version = "1.4-SNAPSHOT"
2023-08-25 19:23:06 +00:00
description = "Module-NickMiniMessage"
2023-08-25 18:21:04 +00:00
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
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()
}
}