-
Notifications
You must be signed in to change notification settings - Fork 9
Development
DocDex and all of its subprojects can be compiled with relative ease. First, ensure you have java 11.
Download and install version 11 (or above) of the JDK, I recommend doing so via AdoptOpenJDK.
Open your preferred terminal and run these commands individually:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh" # run this if you don't want to open a new terminal
sdk install java VERSION
Replace
VERSION
with the latest java 11 adoptopenjdk version (use the identifier) listed onsdk list java
. Currently, the version is11.0.11.hs-adpt
e.g.sdk install java 11.0.11.hs-adpt
Verify your install works by opening a new terminal, and running java -version
. It should say the java version is 11 somewhere in the message.
Once you've downloaded the project (via git clone, or the download button), depending on your OS, there's two ways to compile.
gradlew.bat shadowJar
./gradlew shadowJar
The jars of each subproject will be in their respective folder, in build/libs. e.g. for the discord bot, the jar will be in discord/build/libs. As of right now, the only two jars that you'll ever need to use are app/build/libs, and discord/build/libs.
Feel free to contact me (PiggyPiglet) via discord for support.
-
API
- Routes
- Object Structure
- Population
- Running
- Commands
- Discord
- Development
- Quick Links