Skip to main content

Using Jitpack


Jitpack is an easy to use package repository that builds directly from GitHub repository contents, allowing faster development cycles. We only recommend using Jitpack if you want to keep up with the latest incubating features for Discord4J or wish to test a particular fix.

If you're looking to install versions from Jitpack, be aware of groupId changes:


Using dependency managers#

repositories {
maven { url '' }
dependencies {
implementation 'com.discord4j.discord4j:discord4j-core:master-SNAPSHOT'

Using a Specific Version#

Instead of master-SNAPSHOT you can also use a direct commit hash to pin your dependency, even under development builds. The commit hash can be obtained from the list of GitHub commits: