Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradlew Build Fails #296

Closed
JustOneMoreDog opened this issue Dec 13, 2021 · 2 comments
Closed

Gradlew Build Fails #296

JustOneMoreDog opened this issue Dec 13, 2021 · 2 comments

Comments

@JustOneMoreDog
Copy link

Sorry for another issue but it looks like bintray is going away and or having a major outage as building your project no longer works

aiode@aiode00:~/aiode$ ./gradlew build
> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not resolve com.sedmelluq:lavaplayer-ext-youtube-rotator:0.2.3.
     Required by:
         project :
      > Could not resolve com.sedmelluq:lavaplayer-ext-youtube-rotator:0.2.3.
         > Could not get resource 'https://dl.bintray.com/sedmelluq/com.sedmelluq/com/sedmelluq/lavaplayer-ext-youtube-rotator/0.2.3/lavaplayer-ext-youtube-rotator-0.2.3.pom'.
            > Could not HEAD 'https://dl.bintray.com/sedmelluq/com.sedmelluq/com/sedmelluq/lavaplayer-ext-youtube-rotator/0.2.3/lavaplayer-ext-youtube-rotator-0.2.3.pom'. Received status code 502 from server: Bad Gateway
   > Could not resolve net.dv8tion:JDA:4.3.0_346.
     Required by:
         project :
      > Could not resolve net.dv8tion:JDA:4.3.0_346.
         > Could not get resource 'https://dl.bintray.com/sedmelluq/com.sedmelluq/net/dv8tion/JDA/4.3.0_346/JDA-4.3.0_346.pom'.
            > Could not HEAD 'https://dl.bintray.com/sedmelluq/com.sedmelluq/net/dv8tion/JDA/4.3.0_346/JDA-4.3.0_346.pom'. Received status code 502 from server: Bad Gateway

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5s
1 actionable task: 1 executed

@JustOneMoreDog
Copy link
Author

Update: been a busy week so I only just now had time to come back to this. I did a fresh install and got the same error. So if you are running the bot let it keep running

@robinfriedli
Copy link
Owner

Running isn't the problem, building is. Seems that https://dl.bintray.com/sedmelluq/com.sedmelluq is down. I removed the repository, along with moving all jcenter dependencies to jitpack where I can since jcenter will shut down completely soon. Jda-nas is still pulled from jcenter, everything else was moved. Builds should work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants