🫘 Cocoa Beans
Welcome to the cocoa-beans wiki! Cocoa beans is a toolkit for you to take with you to every new project. Instead of copying and pasting utilities code between projects, merge them into cocoa beans and improve other developer's utilities, so you can save time and complexity managing code across multiple projects.
Relevant Links
Including in your project
We support Gradle and Maven build scripts. The recommended approach to using Cocoa Beans is to include the library in your project's classpath, and install it as a separate plugin. Cocoa Beans is available as a plugin from Hangar.
<repositories>
<repository>
<id>apartium-releases</id>
<url>https://mvn.apartiumservices.com/repository/apartium-releases</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>dev.apartium.cocoa-beans</groupId>
<!-- You can also use 'spigot' instead to get the spigot utilities as well -->
<artifactId>cocoa-beans-common</artifactId>
<version>[VERSION]</version>
</dependency>
</dependencies>
repositories {
mavenCentral()
}
dependencies {
// You can also use 'spigot' instead to get the spigot utilities as well
compileOnly 'dev.apartium.cocoa-beans:cocoa-beans-common:[VERSION]'
}
Last modified: 28 August 2025