Module-HTTPD/build.gradle.kts

76 lines
1.7 KiB
Plaintext
Raw Normal View History

2022-04-02 03:59:47 +00:00
plugins {
java
`maven-publish`
idea
}
2022-04-02 04:14:12 +00:00
group = "dev.plex"
2022-11-28 04:15:00 +00:00
version = "1.3-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 {
2022-05-08 18:59:50 +00:00
implementation("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
2022-11-28 04:15:00 +00:00
implementation("io.papermc.paper:paper-api:1.19.2-R0.1-SNAPSHOT")
implementation("dev.plex:server:1.3-SNAPSHOT")
implementation("org.json:json:20220924")
2022-04-02 03:59:47 +00:00
implementation("org.reflections:reflections:0.10.2")
2022-11-28 04:15:00 +00:00
implementation("org.eclipse.jetty:jetty-server:11.0.12")
implementation("org.eclipse.jetty:jetty-servlet:11.0.12")
implementation("org.eclipse.jetty:jetty-proxy:11.0.12")
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
archiveBaseName.set("Plex-HTTPD")
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"])
}
}
}