Use gradle as a build tool

This commit is contained in:
destro174
2021-12-11 21:41:19 +01:00
parent 5b68a0cbb7
commit 2ce84244e8
4 changed files with 49 additions and 9 deletions
+10 -2
View File
@@ -33,14 +33,22 @@ dependencies {
// implementation(project(":api"))
implementation(project(":galaxy"))
implementation(project(":velocity"))
implementation("net.kyori", "adventure-text-minimessage", "4.1.0-SNAPSHOT")
implementation("org.spongepowered", "configurate-yaml", "4.1.2")
// implementation("net.kyori", "adventure-text-minimessage", "4.1.0-SNAPSHOT") {
// exclude("net.kyori")
// exclude("net.kyori.examination")
// }
// implementation("org.spongepowered", "configurate-yaml", "4.1.2")
// implementation("mysql:mysql-connector-java:8.0.27") // mysql
}
tasks {
shadowJar {
archiveFileName.set("${project.name}-${project.version}.jar")
minimize() {
exclude { it.moduleName == "galaxy" }
exclude { it.moduleName == "velocity" }
}
listOf(
"net.kyori.adventure.text.minimessage",
"org.spongepowered.configurate"