Gradle Rewrite

This commit is contained in:
Lixfel
2024-08-06 00:26:48 +02:00
parent b210d1265c
commit da3d0a97b5
53 changed files with 513 additions and 1645 deletions
+11 -32
View File
@@ -18,12 +18,10 @@
*/
plugins {
id("java")
id("com.github.johnrengelman.shadow")
steamwar.java
alias(libs.plugins.shadow)
}
group = "de.steamwar"
tasks.shadowJar {
exclude("META-INF/*")
exclude("org/sqlite/native/FreeBSD/**', 'org/sqlite/native/Mac/**', 'org/sqlite/native/Windows/**', 'org/sqlite/native/Linux-Android/**', 'org/sqlite/native/Linux-Musl/**")
@@ -41,48 +39,29 @@ tasks.build {
finalizedBy(tasks.shadowJar)
}
tasks.compileJava {
options.encoding = "UTF-8"
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
sourceSets {
main {
java {
srcDirs("src/")
}
resources {
srcDirs("src/")
exclude("**/*.java", "**/*.kt")
}
}
}
dependencies {
compileOnly("org.projectlombok:lombok:1.18.32")
annotationProcessor("org.projectlombok:lombok:1.18.32")
annotationProcessor(libs.velocityapi)
compileOnly(libs.velocity)
annotationProcessor("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT")
compileOnly("de.steamwar:velocity:RELEASE")
compileOnly(project(":VelocityCore:Persistent"))
implementation(project(":CommonCore"))
implementation(project(":CommandFramework"))
compileOnly(project(":VelocityCore:Persistent"))
implementation(libs.sqlite)
implementation(libs.mysql)
implementation("org.xerial:sqlite-jdbc:3.46.0.0")
implementation("mysql:mysql-connector-java:8.0.33")
implementation("net.dv8tion:JDA:4.4.0_352") {
implementation(libs.jda) {
exclude(module = "opus-java")
}
implementation("org.msgpack:msgpack-core:0.9.8")
implementation(libs.msgpack)
implementation("com.lunarclient:apollo-api:1.1.0")
implementation("com.lunarclient:apollo-common:1.1.0")
implementation(libs.apolloapi)
implementation(libs.apollocommon)
}