TachiWeb / TachiWeb-Server

A port of the Tachiyomi manga reader to the desktop and server
407 stars 46 forks source link

Gradle: Build failed with an exception #36

Open enzobes opened 5 years ago

enzobes commented 5 years ago

Hi, thanks for your works ! I have this error when I start build with scripts/build.sh

Installing library to library folder...
Cleaning up...
Done!
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Starting a Gradle Daemon (subsequent builds will be faster)
Parallel execution is an incubating feature.

FAILURE: Build failed with an exception.

* Where:
Settings file '/tmp/TachiWeb-Server/settings.gradle' line: 7

* What went wrong:
Project :dex-translator not found.

* 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 5.0.
See https://docs.gradle.org/4.8.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s
Java build failed!

Thank you for you help

georgedpeterson commented 3 years ago

Same

georgedpeterson commented 3 years ago

How I fixed it was to manually download dex2jar files to the dex2jar folder and then build. I don't know why they aren't included by default after the git pull.

HugoxSaraiva commented 3 years ago

How I fixed it was to manually download dex2jar files to the dex2jar folder and then build. I don't know why they aren't included by default after the git pull.

I'm following the build instructions in https://github.com/TachiWeb/TachiWeb-Server/blob/master/INSTALL.md, and dex2jar was not included during the "git clone" command because dex2jar is a submodule, which is only downloaded when the argument "--recurse-submodules" is specified.