2023-08-25 19:40:55 +00:00
|
|
|
plugins {
|
|
|
|
id "java"
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "dev.plex"
|
2023-08-25 22:31:06 +00:00
|
|
|
version = "1.4-SNAPSHOT"
|
2023-08-25 19:40:55 +00:00
|
|
|
description = "Module-FalseOp"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven { url "https://repo.papermc.io/repository/maven-public/" }
|
2023-08-25 22:31:06 +00:00
|
|
|
maven { url "https://nexus.telesphoreo.me/repository/plex/" }
|
2023-08-25 19:40:55 +00:00
|
|
|
maven { url "https://repo.dmulloy2.net/repository/public/" }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly "io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT"
|
2023-08-25 22:31:06 +00:00
|
|
|
compileOnly "dev.plex:server:1.4-SNAPSHOT"
|
2023-08-25 19:40:55 +00:00
|
|
|
implementation "com.comphenix.protocol:ProtocolLib:5.1.0"
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named("jar") {
|
|
|
|
archiveBaseName.set("Plex-FalseOp")
|
|
|
|
archiveVersion.set("")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
compileJava {
|
|
|
|
options.encoding = "utf-8"
|
|
|
|
}
|
|
|
|
javadoc {
|
|
|
|
options.encoding = "utf-8"
|
|
|
|
}
|
|
|
|
processResources {
|
|
|
|
filteringCharset = "utf-8"
|
|
|
|
}
|
|
|
|
}
|