Module-HTTPD/build.gradle.kts

74 lines
1.7 KiB
Text
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-05-29 03:02:12 +00:00
version = "1.1"
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")
}
}
dependencies {
2022-05-08 18:59:50 +00:00
implementation("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
2022-04-02 03:59:47 +00:00
implementation("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT")
2022-05-29 03:02:12 +00:00
implementation("dev.plex:server:1.1")
implementation("dev.plex:api:1.1")
2022-04-02 04:14:12 +00:00
implementation("org.json:json:20220320")
2022-04-02 03:59:47 +00:00
implementation("org.reflections:reflections:0.10.2")
implementation("org.eclipse.jetty:jetty-server:11.0.9")
implementation("org.eclipse.jetty:jetty-servlet:11.0.9")
implementation("org.eclipse.jetty:jetty-proxy:11.0.9")
2022-05-08 18:59:50 +00:00
implementation("com.github.MilkBowl:VaultAPI:1.7") {
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"])
}
}
}