Module-FalseOp/build.gradle

43 lines
924 B
Groovy
Raw Normal View History

2023-08-25 19:40:55 +00:00
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"
}
}