2022-03-31 06:35:22 +00:00
|
|
|
plugins {
|
|
|
|
java
|
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
2022-03-31 07:06:34 +00:00
|
|
|
group = "dev.plex"
|
|
|
|
description = "Module-BukkitTelnet"
|
|
|
|
version = "1.0"
|
2022-03-31 06:35:22 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2022-03-31 07:06:34 +00:00
|
|
|
|
2022-03-31 06:35:22 +00:00
|
|
|
maven {
|
|
|
|
url = uri("https://papermc.io/repo/repository/maven-public/")
|
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
|
|
|
url = uri("https://nexus.telesphoreo.me/repository/plex")
|
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
|
|
|
url = uri("https://nexus.telesphoreo.me/repository/totalfreedom")
|
|
|
|
}
|
2022-03-31 07:06:34 +00:00
|
|
|
|
2022-03-31 06:35:22 +00:00
|
|
|
maven {
|
|
|
|
url = uri("https://jitpack.io")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.22")
|
|
|
|
annotationProcessor("org.projectlombok:lombok:1.18.22")
|
|
|
|
compileOnly("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT")
|
|
|
|
compileOnly("dev.plex:Plex:0.10-SNAPSHOT")
|
|
|
|
compileOnly("me.totalfreedom:BukkitTelnet:4.7") {
|
|
|
|
exclude("org.spigotmc", "spigot-api")
|
|
|
|
}
|
|
|
|
compileOnly("com.github.MilkBowl:VaultAPI:1.7")
|
|
|
|
}
|
|
|
|
|
2022-04-01 05:21:47 +00:00
|
|
|
java {
|
|
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
2022-03-31 06:35:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
create<MavenPublication>("maven") {
|
|
|
|
from(components["java"])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.getByName<Jar>("jar") {
|
2022-04-01 06:23:30 +00:00
|
|
|
archiveBaseName.set("Plex-BukkitTelnet")
|
2022-04-01 05:21:47 +00:00
|
|
|
archiveVersion.set("")
|
|
|
|
}
|