-
Notifications
You must be signed in to change notification settings - Fork 151
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
Docker build failing due to Gradle deprecation error #179
Comments
Have you found a solution to this? I ran into the same problem trying to run locally since the mirror I was sent is broken. |
In the build.gradle file, I was able to change the some versions for Kotlin and Shadow to bypass this error and complete the build, I'm definitely not an expert here and was taking my shot in the dark.
|
@D-Molohon Cool, thanks. I'll try this fix over the weekend |
@D-Molohon Error is still occurring for me even with the version provided above |
It may now be a newer version than when I had tested it, I’m certainly no expert in maintaining this. Feel free to test with newer version numbers than I have listed where I made changes. I also know there are some hosted versions out there that are currently working! I can’t remember them off the top of my head, sadly. Good luck and Godspeed in your endeavors, friend! |
Now there appeared a new part in the error message about some dependencies: The log:
|
The Maven server from UnderMybrella (https://maven.brella.dev) is down since some months and is most likely not coming back.
But they are available under JitPack at https://jitpack.io/#undermybrella/UnitsKeptSimple/master-SNAPSHOT and https://jitpack.io/#undermybrella/Visi/master-SNAPSHOT. Just replace the
with
in the But as this repository isn't really maintained anymore, I would actually recommend using my fork under https://github.com/floriegl/EternalJukebox, as I fixed this issue there, cleaned up a lot of the code and added some new features. The README isn't really updated, but running it with docker compose should just work (please check out the comment in the |
Before
Description
After using docker-compose up -d, the build fails due to an deprecation error.
Console Logs
0 21.61
0 21.61 FAILURE: Build failed with an exception.
0 21.61
0 21.61 * What went wrong:
0 21.61 org.gradle.api.artifacts.dsl.DependencyHandler.registerTransform(Lorg/gradle/api/Action;)V
0 21.61
0 21.61 * Try:
0 21.61 > Run with --stacktrace option to get the stack trace.
0 21.61 > Run with --info or --debug option to get more log output.
0 21.61 > Run with --scan to get full insights.
0 21.61 > Get more help at https://help.gradle.org.
0 21.61
0 21.61 Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
0 21.61
0 21.61 You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
0 21.61
0 21.61 For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
0 21.61
0 21.61 BUILD FAILED in 21s
failed to solve: executor failed running [/bin/sh -c cd EternalJukebox && gradle clean shadowJar --no-daemon]: exit code: 1
Additional Information
I've checked the other Issues regarding deprecation and gradle, however was unable to find the Error * What went wrong:
0 21.61 org.gradle.api.artifacts.dsl.DependencyHandler.registerTransform(Lorg/gradle/api/Action;)V
The text was updated successfully, but these errors were encountered: