Module-BukkitTelnet/build.gradle.kts

69 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-03-31 06:35:22 +00:00
plugins {
java
`maven-publish`
}
2022-04-12 21:45:30 +00:00
group = "dev.plex"
2022-04-12 21:48:27 +00:00
version = "1.0"
description = "Module-BukkitTelnet"
2022-03-31 06:35:22 +00:00
repositories {
mavenCentral()
maven {
url = uri("https://papermc.io/repo/repository/maven-public/")
}
maven {
2022-04-11 00:48:41 +00:00
url = uri("https://nexus.telesphoreo.me/repository/plex-snapshots/")
2022-03-31 06:35:22 +00:00
}
maven {
2022-04-12 21:38:28 +00:00
url = uri("https://nexus.telesphoreo.me/repository/totalfreedom/")
2022-03-31 06:35:22 +00:00
}
maven {
url = uri("https://jitpack.io")
}
}
dependencies {
2022-05-09 02:23:28 +00:00
compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
2022-03-31 06:35:22 +00:00
compileOnly("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT")
2022-05-09 02:23:28 +00:00
compileOnly("dev.plex:server:1.1-SNAPSHOT")
compileOnly("dev.plex:api:1.1-SNAPSHOT")
2022-04-12 21:41:35 +00:00
compileOnly("me.totalfreedom:BukkitTelnet:4.8") {
2022-04-14 22:20:38 +00:00
exclude("org.papermc.paper", "paper-api")
2022-03-31 06:35:22 +00:00
}
}
2022-05-09 02:23:28 +00:00
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
2022-03-31 06:35:22 +00:00
tasks {
compileJava {
2022-05-09 02:23:28 +00:00
options.encoding = Charsets.UTF_8.name()
2022-03-31 06:35:22 +00:00
}
javadoc {
2022-05-09 02:23:28 +00:00
options.encoding = Charsets.UTF_8.name()
2022-03-31 06:35:22 +00:00
}
processResources {
2022-05-09 02:23:28 +00:00
filteringCharset = Charsets.UTF_8.name()
2022-03-31 06:35:22 +00:00
}
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}
tasks.getByName<Jar>("jar") {
archiveBaseName.set("Plex-BukkitTelnet")
2022-04-11 05:01:34 +00:00
archiveVersion.set("")
2022-03-31 06:35:22 +00:00
}