Archives containing JAR files are available as releases.
Dough is Baked Libs' core utility library, forked and lowered to Java 8 for the Slimefun multi-version universal jar. It is published as separate modules (see below).
- Maven (inside the file)
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/Slimefun5/dough</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<dependency>
<groupId>io.github.intisy</groupId>
<artifactId>dough</artifactId>
<version>4.0.2</version>
</dependency>- Maven (inside the file)
<servers>
<server>
<id>github</id>
<username>your-username</username>
<password>your-access-token</password>
</server>
</servers>- Gradle (inside the or file)
repositories {
maven {
url "https://maven.pkg.github.com/Slimefun5/dough"
credentials {
username = "<your-username>"
password = "<your-access-token>"
}
}
}
dependencies {
implementation 'io.github.intisy:dough:4.0.2'
}- Gradle (inside the or file)
plugins {
id "io.github.intisy.github-gradle" version "1.3.7"
}
dependencies {
githubImplementation "intisy:dough:4.0.2"
}dough is published as separate modules. Pull every module at once with the all classifier:
dependencies {
githubImplementation "Slimefun5:dough:4.0.2:all"
}Or depend on individual modules:
dependencies {
githubImplementation "Slimefun5:dough:4.0.2:chat"
githubImplementation "Slimefun5:dough:4.0.2:common"
githubImplementation "Slimefun5:dough:4.0.2:config"
githubImplementation "Slimefun5:dough:4.0.2:data"
githubImplementation "Slimefun5:dough:4.0.2:inventories"
githubImplementation "Slimefun5:dough:4.0.2:items"
githubImplementation "Slimefun5:dough:4.0.2:protection"
githubImplementation "Slimefun5:dough:4.0.2:recipes"
githubImplementation "Slimefun5:dough:4.0.2:reflection"
githubImplementation "Slimefun5:dough:4.0.2:scheduling"
githubImplementation "Slimefun5:dough:4.0.2:updater"
}Once you have it installed you can use it like so:
// Dough utilities are used across Slimefun: config, items, inventories, scheduling, reflection, ...
// Pull every module at once with the github-gradle "all" classifier (see the Modules section).