2022-04-02 03:59:47 +00:00
|
|
|
plugins {
|
|
|
|
java
|
|
|
|
`maven-publish`
|
|
|
|
idea
|
|
|
|
}
|
|
|
|
|
2022-04-02 04:14:12 +00:00
|
|
|
group = "dev.plex"
|
2023-08-29 00:02:46 +00:00
|
|
|
version = "1.4-SNAPSHOT"
|
2022-04-02 04:14:12 +00:00
|
|
|
description = "Module-HTTPD"
|
2022-04-02 03:59:47 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2022-04-02 04:14:12 +00:00
|
|
|
|
2022-04-02 03:59:47 +00:00
|
|
|
maven {
|
2022-05-22 02:05:38 +00:00
|
|
|
url = uri("https://repo.papermc.io/repository/maven-public/")
|
2022-04-02 03:59:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
2022-04-02 04:14:12 +00:00
|
|
|
url = uri("https://nexus.telesphoreo.me/repository/plex/")
|
2022-04-02 03:59:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
|
|
|
url = uri("https://jitpack.io")
|
2022-06-06 03:13:20 +00:00
|
|
|
content {
|
|
|
|
includeGroup("com.github.MilkBowl")
|
|
|
|
}
|
2022-04-02 03:59:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-10-30 03:59:33 +00:00
|
|
|
implementation("org.projectlombok:lombok:1.18.30")
|
|
|
|
annotationProcessor("org.projectlombok:lombok:1.18.30")
|
|
|
|
implementation("io.papermc.paper:paper-api:1.20.2-R0.1-SNAPSHOT")
|
2023-08-29 00:02:46 +00:00
|
|
|
implementation("dev.plex:server:1.4-SNAPSHOT")
|
2023-10-30 03:59:33 +00:00
|
|
|
implementation("org.json:json:20231013")
|
2022-04-02 03:59:47 +00:00
|
|
|
implementation("org.reflections:reflections:0.10.2")
|
2023-11-26 06:03:16 +00:00
|
|
|
implementation("org.eclipse.jetty:jetty-server:11.0.18")
|
|
|
|
implementation("org.eclipse.jetty:jetty-servlet:11.0.18")
|
|
|
|
implementation("org.eclipse.jetty:jetty-proxy:11.0.18")
|
2022-11-28 04:15:00 +00:00
|
|
|
implementation("com.github.MilkBowl:VaultAPI:1.7.1") {
|
2022-05-08 18:59:50 +00:00
|
|
|
exclude("org.bukkit", "bukkit")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.getByName<Jar>("jar") {
|
|
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
2023-09-05 23:14:43 +00:00
|
|
|
archiveBaseName.set("Module-HTTPD")
|
2022-05-08 18:59:50 +00:00
|
|
|
archiveVersion.set("")
|
|
|
|
from("src/main/resources") {
|
|
|
|
exclude("dev/**")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
2022-04-02 03:59:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
compileJava {
|
2022-05-08 18:59:50 +00:00
|
|
|
options.encoding = Charsets.UTF_8.name()
|
2022-04-02 03:59:47 +00:00
|
|
|
}
|
|
|
|
javadoc {
|
2022-05-08 18:59:50 +00:00
|
|
|
options.encoding = Charsets.UTF_8.name()
|
2022-04-02 03:59:47 +00:00
|
|
|
}
|
|
|
|
processResources {
|
2022-05-08 18:59:50 +00:00
|
|
|
filteringCharset = Charsets.UTF_8.name()
|
2022-04-02 03:59:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
create<MavenPublication>("maven") {
|
|
|
|
from(components["java"])
|
|
|
|
}
|
|
|
|
}
|
2022-04-14 04:49:12 +00:00
|
|
|
}
|