41 lines
737 B
Groovy
Executable File
41 lines
737 B
Groovy
Executable File
plugins {
|
|
id'application'
|
|
id ('com.gradleup.shadow') version '8.3.0'
|
|
id 'java'
|
|
}
|
|
|
|
|
|
application.mainClass = "de.ocame.wuerfelbot.core.Main"
|
|
group = 'de.ocame'
|
|
version = '0.20'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
//def jdaVersion = '3.8.3_460'
|
|
def jdaVersion = '5.6.1'
|
|
|
|
|
|
java {
|
|
sourceCompatibility = '21'
|
|
targetCompatibility = '21'
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
dependencies {
|
|
// compile "org.slf4j:slf4j-simple:1.7.36"
|
|
|
|
|
|
implementation "net.dv8tion:JDA:$jdaVersion"
|
|
implementation 'org.jsoup:jsoup:1.15.3'
|
|
implementation 'org.json:json:20231013'
|
|
implementation 'com.mysql:mysql-connector-j:9.2.0'
|
|
|
|
implementation 'ch.qos.logback:logback-classic:1.5.13'
|
|
}
|
|
|