change: attempt to reorganise build.gradle 😔 (it failed)

This commit is contained in:
ZtereoHYPE 2022-02-03 03:05:49 +01:00
parent 8f31bd42e5
commit 3e96100171

View file

@ -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'