diff --git a/build.gradle b/build.gradle index 50ff2c0..88349a8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,11 @@ plugins { - id 'application' id 'com.github.johnrengelman.shadow' version '7.0.0' - id "io.freefair.lombok" version "6.2.0" + id 'application' } -mainClassName = 'codes.ztereohype.ztereomusic.ZtereoMUSIC' - version '0.0.2' -sourceCompatibility = targetCompatibility = 16 +sourceCompatibility = targetCompatibility = 17 repositories { mavenCentral() @@ -19,7 +16,21 @@ repositories { dependencies { implementation "net.dv8tion:JDA:4.3.0_277" implementation "com.sedmelluq:lavaplayer:1.3.77" - implementation "net.shadew:json:0.1" + implementation "net.shadew:json:0.3" + implementation "net.shadew:shwutil:1.7.0" + + compileOnly 'org.projectlombok:lombok:1.18.22' + annotationProcessor 'org.projectlombok:lombok:1.18.22' } +shadowJar { + configurations = [project.configurations.runtimeClasspath] +} + +jar { + dependsOn(shadowJar) +} + +mainClassName = 'codes.ztereohype.ztereomusic.ZtereoMUSIC' + compileJava.options.encoding = 'UTF-8' \ No newline at end of file