mirror of
https://github.com/plexusorg/Module-FalseOp.git
synced 2024-11-22 19:55:00 +00:00
43 lines
924 B
Groovy
43 lines
924 B
Groovy
|
plugins {
|
||
|
id "java"
|
||
|
}
|
||
|
|
||
|
group = "dev.plex"
|
||
|
version = "1.0"
|
||
|
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.3"
|
||
|
compileOnly files("libs/Plex-1.4-SNAPSHOT.jar")
|
||
|
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"
|
||
|
}
|
||
|
}
|