Closed rohank05 closed 2 years ago
Can you show your build.gradle file? Also you just showed to everyone login and password to your google account
Thanks for letting me know. I have changed the password.
plugins {
id 'java'
id 'application'
id "com.github.johnrengelman.shadow" version "7.1.2"
}
group 'me.rohank05'
version '1.0.0'
mainClassName = "me.rohank05.Bot"
repositories {
maven { url 'https://m2.dv8tion.net/releases' }
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
//Bot stuff
implementation (group: 'net.dv8tion', name: 'JDA', version: '5.0.0-alpha.9'){
exclude module: 'opus-java'
}
implementation group: 'com.github.walkyst', name: 'lavaplayer-fork', version: 'fc6b9de7e7'
implementation group: 'com.sedmelluq', name: 'lavaplayer-ext-youtube-rotator', version: '0.2.1'
implementation group: 'com.github.natanbc', name: 'lavadsp', version: '0.7.7'
implementation group: 'me.rohank05', name: 'lavadsp-extended', version: '0.0.2'
implementation group: 'io.github.cdimascio', name: 'dotenv-java', version: '2.2.0'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.8'
implementation group: 'com.sedmelluq', name: 'jda-nas', version: '1.1.0'
implementation group: 'me.rohank05', name: 'Topis-Source-Managers', version: '125dc466f6'
implementation group: 'com.github.Topis-Lavalink-Plugins', name: 'jda-paginator', version: 'v2.0.1'
}
test {
useJUnitPlatform()
}
shadowJar {
def impl = project.configurations.implementation
impl.canBeResolved(true)
configurations = [impl]
archiveClassifier.set("")
}
compileJava.options.encoding = 'UTF-8'
I have tried using https://github.com/Walkyst/lavaplayer-fork-youtube-rotator/tree/custom It works but it makes all the custom source manager like spotify by topis useless
Try completely remove rotator dep, all extensions already shipped with lavaplayer
Thanks that worked. Did not know it was in-built
It happens when i add ip rotator version 0.2.3 and try to build it
using gradle 7.4 openJDK 15
error log:
As soon as i remove ip rotator dependency it start to work