This is a massive commit incorporating 5 years' worth of upstream dependencies updates all at once, particularly with JDA. Several classpaths and APIs changed, requiring some rework. The bot is mostly functional as a result, but issues remain with reaction callbacks and playing audio from YouTube.
42 lines
774 B
Groovy
42 lines
774 B
Groovy
buildscript {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
}
|
|
dependencies {
|
|
classpath 'com.github.johnrengelman:shadow:8.1.1'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
apply plugin: 'java'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
maven {
|
|
name 'm2-dv8tion'
|
|
url 'https://m2.dv8tion.net/releases'
|
|
}
|
|
|
|
maven {
|
|
url 'https://m2.dv8tion.net/releases'
|
|
}
|
|
|
|
maven {
|
|
url 'https://jitpack.io'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.slf4j:slf4j-simple:2.0.13'
|
|
|
|
implementation 'net.dv8tion:JDA:5.0.0-beta.24'
|
|
implementation 'dev.arbjerg:lavaplayer:2.1.1'
|
|
implementation 'redis.clients:jedis:5.1.3'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class': 'dev.logal.logalbot.Main'
|
|
}
|
|
} |