2024-01-25 22:56:48 +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/")
|
|
|
|
}
|
|
|
|
|
2024-01-25 23:46:11 +00:00
|
|
|
maven {
|
|
|
|
url = uri("https://m2.dv8tion.net/releases")
|
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
|
|
|
url = uri("https://nexus.scarsz.me/content/groups/public/")
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-01-25 22:56:48 +00:00
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.30")
|
|
|
|
annotationProcessor("org.projectlombok:lombok:1.18.30")
|
|
|
|
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
|
|
|
|
compileOnly("dev.plex:server:1.4-SNAPSHOT")
|
2024-01-25 23:46:11 +00:00
|
|
|
compileOnly("com.discordsrv:discordsrv:1.27.0")
|
2024-01-25 22:56:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group = "dev.plex"
|
2024-01-25 23:46:11 +00:00
|
|
|
version = "1.4-SNAPSHOT"
|
|
|
|
description = "Module-DiscordSRV"
|
2024-01-25 22:56:48 +00:00
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
create<MavenPublication>("maven") {
|
|
|
|
from(components["java"])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.getByName<Jar>("jar") {
|
2024-01-25 23:46:11 +00:00
|
|
|
archiveBaseName.set("Module-DiscordSRV")
|
2024-01-25 22:56:48 +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()
|
|
|
|
}
|
|
|
|
}
|