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-05-14 00:33:14 +00:00
|
|
|
url = uri("https://nexus.telesphoreo.me/repository/plex/")
|
2022-03-31 06:35:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
|
|
|
url = uri("https://jitpack.io")
|
2022-05-14 00:33:14 +00:00
|
|
|
content {
|
|
|
|
includeGroup("com.github.plexusorg")
|
|
|
|
}
|
2022-03-31 06:35:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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-05-14 00:33:14 +00:00
|
|
|
compileOnly("com.github.plexusorg:BukkitTelnet:6908ff201f") {
|
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
|
|
|
}
|
|
|
|
|