TachiWeb / TachiWeb-Server

A port of the Tachiyomi manga reader to the desktop and server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build error: gradle project dex-translator not found

covert8 opened this issue · comments

Hi, awesome work so far.
I was looking at making an Arch aur package but ran into a build error.
The following is my error.
* What went wrong: Project :dex-translator not found.

It's obviously refering to the settings.gradle file
includeBuild('dex2jar') { dependencySubstitution { substitute module('dex2jar:dex-translator') with project(':dex-translator') } }

When looking in the dex2jar folder, it's suspiciously empty.
Is this somekind of script or gradle error?
Thanks for the help.

Hey! A fellow Arch user!

So the reason that the build is failing is because you didn't clone the git submodules. This project is quite complex so it's git repo actually contains a bunch of nested git repos inside of it.

I've never made an AUR package myself so I have no clue how to get a repo with submodules working but there's some tips here apparently: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git_Submodules

Some more tips that might be helpful:

  • Building the project should just be a matter of running: scripts/build.sh --linux
  • The build script will spit out four relevant binaries once complete:
    • A server JAR. Users can run this binary to start the server. Once the server is started, users can use the program via the web UI located at: http://localhost:4567
    • A .tar.gz file, an AppImage file and a .pacman file. These three files all contain the same set of binaries, just packaged differently. You should only install one of these three files on the system. Each of these three files contain both the server JAR and a bootstrapper. The bootstrapper is an Electron app that deals with automatically launching the server and opening the web UI.
    • The server JAR will be located in this folder when the build is complete: TachiServer/build/libs/. It will have TachiServer-allin it's name.
    • The three other files will be located in this folder when the build is complete: bootui/tachiweb-bootstrap/dist

Thanks for your effort in bringing this into the AUR and don't hesitate to ask if you need more help!