2022-04-11 05:06:13 +00:00
|
|
|
plugins {
|
|
|
|
id "java"
|
2022-04-12 21:37:10 +00:00
|
|
|
id "maven-publish"
|
2024-10-16 23:03:57 +00:00
|
|
|
id "net.minecrell.plugin-yml.bukkit" version "0.6.0"
|
|
|
|
id "com.gradleup.shadow" version "8.3.3"
|
2022-04-11 05:06:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group = "me.totalfreedom"
|
2024-10-16 23:03:57 +00:00
|
|
|
version = "4.9"
|
2022-04-12 02:51:50 +00:00
|
|
|
description = "BukkitTelnet"
|
2022-04-11 05:06:13 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url = uri("https://jitpack.io")
|
2022-04-12 02:51:50 +00:00
|
|
|
content {
|
|
|
|
includeGroup("com.github.MilkBowl")
|
|
|
|
}
|
2022-04-11 05:06:13 +00:00
|
|
|
}
|
|
|
|
maven {
|
|
|
|
url = uri("https://papermc.io/repo/repository/maven-public/")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-10-16 23:03:57 +00:00
|
|
|
compileOnly "io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT"
|
|
|
|
annotationProcessor "org.projectlombok:lombok:1.18.34"
|
|
|
|
library "org.projectlombok:lombok:1.18.34"
|
|
|
|
library "org.json:json:20240303"
|
|
|
|
compileOnly("com.github.MilkBowl:VaultAPI:1.7.1") {
|
2022-04-11 05:06:13 +00:00
|
|
|
exclude group: "org.bukkit", module: "bukkit"
|
|
|
|
}
|
2024-10-16 23:03:57 +00:00
|
|
|
implementation "org.apache.commons:commons-lang3:3.17.0"
|
|
|
|
library "org.apache.logging.log4j:log4j-api:2.24.1"
|
|
|
|
library "org.apache.logging.log4j:log4j-core:2.24.1"
|
2022-04-11 05:06:13 +00:00
|
|
|
}
|
|
|
|
tasks {
|
|
|
|
jar {
|
|
|
|
dependsOn(shadowJar)
|
|
|
|
}
|
2022-04-12 21:37:10 +00:00
|
|
|
}
|
2022-04-11 05:06:13 +00:00
|
|
|
|
2022-04-12 21:37:10 +00:00
|
|
|
java {
|
2024-10-16 23:03:57 +00:00
|
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
|
2022-04-12 21:37:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.encoding = "UTF-8"
|
2022-04-11 05:06:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bukkit {
|
|
|
|
name = "BukkitTelnet"
|
|
|
|
main = "me.totalfreedom.bukkittelnet.BukkitTelnet"
|
2024-10-16 23:03:57 +00:00
|
|
|
apiVersion = "1.20"
|
2022-04-11 05:06:13 +00:00
|
|
|
version = project.version
|
|
|
|
description = "Telnet console access plugin."
|
|
|
|
authors = ["bekvon", "Madgeek1450", "Prozza", "Taahh", "Telesphoreo"]
|
|
|
|
softDepend = ["Vault"]
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
archiveBaseName.set("BukkitTelnet")
|
|
|
|
archiveVersion.set("")
|
|
|
|
archiveClassifier.set("")
|
2022-04-12 21:37:10 +00:00
|
|
|
}
|