From 3e96100171abdb8761e96e5a108882434b77515b Mon Sep 17 00:00:00 2001 From: ZtereoHYPE <57519662+ZtereoHYPE@users.noreply.github.com> Date: Thu, 3 Feb 2022 03:05:49 +0100 Subject: [PATCH] change: attempt to reorganise build.gradle :pensive: (it failed) --- build.gradle | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) 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