mirror of
https://github.com/plexusorg/Module-FalseOp.git
synced 2024-11-22 11:45:00 +00:00
42 lines
884 B
Groovy
42 lines
884 B
Groovy
plugins {
|
|
id "java"
|
|
}
|
|
|
|
group = "dev.plex"
|
|
version = "1.4-SNAPSHOT"
|
|
description = "Module-FalseOp"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url "https://repo.papermc.io/repository/maven-public/" }
|
|
maven { url "https://nexus.telesphoreo.me/repository/plex/" }
|
|
maven { url "https://repo.dmulloy2.net/repository/public/" }
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly "io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT"
|
|
compileOnly "dev.plex:server:1.4-SNAPSHOT"
|
|
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"
|
|
}
|
|
}
|