mirror of
https://github.com/plexusorg/Module-HTTPD.git
synced 2024-10-31 17:37:10 +00:00
76 lines
1.7 KiB
Plaintext
76 lines
1.7 KiB
Plaintext
plugins {
|
|
java
|
|
`maven-publish`
|
|
idea
|
|
}
|
|
|
|
group = "dev.plex"
|
|
version = "1.4-SNAPSHOT"
|
|
description = "Module-HTTPD"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
maven {
|
|
url = uri("https://repo.papermc.io/repository/maven-public/")
|
|
}
|
|
|
|
maven {
|
|
url = uri("https://nexus.telesphoreo.me/repository/plex/")
|
|
}
|
|
|
|
maven {
|
|
url = uri("https://jitpack.io")
|
|
content {
|
|
includeGroup("com.github.MilkBowl")
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
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")
|
|
implementation("dev.plex:server:1.4-SNAPSHOT")
|
|
implementation("org.json:json:20231013")
|
|
implementation("org.reflections:reflections:0.10.2")
|
|
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")
|
|
implementation("com.github.MilkBowl:VaultAPI:1.7.1") {
|
|
exclude("org.bukkit", "bukkit")
|
|
}
|
|
}
|
|
|
|
tasks.getByName<Jar>("jar") {
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
archiveBaseName.set("Module-HTTPD")
|
|
archiveVersion.set("")
|
|
from("src/main/resources") {
|
|
exclude("dev/**")
|
|
}
|
|
}
|
|
|
|
java {
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
|
|
tasks {
|
|
compileJava {
|
|
options.encoding = Charsets.UTF_8.name()
|
|
}
|
|
javadoc {
|
|
options.encoding = Charsets.UTF_8.name()
|
|
}
|
|
processResources {
|
|
filteringCharset = Charsets.UTF_8.name()
|
|
}
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
create<MavenPublication>("maven") {
|
|
from(components["java"])
|
|
}
|
|
}
|
|
} |