Casterlabs' Commons library, for that sweet, sweet code reuse.
We sort out the different utils into distinct packages, allowing you to pull in only what you need. This avoids bloating your builds with a bunch of unused code, like a lot of other commons libraries do.
Select a subproject to get started.
Platform • OS & CPU arch detection.
Async • Threading & async helpers.
Events • Event helpers.
Functional • Functional code helpers.
IPC • An in-progress IPC framework.
IO • Utilties for handling information.
We use GitHub packages + our own resolver for our deployment and hosting.
Maven
<repositories>
<repository>
<id>casterlabs-maven</id>
<url>https://repo.casterlabs.co/maven</url>
</repository>
</repositories>
Gradle
allprojects {
repositories {
maven { url 'https://repo.casterlabs.co/maven' }
}
}
SBT
resolvers += "casterlabs-maven" at "https://repo.casterlabs.co/maven"
Leiningen
:repositories [["casterlabs-maven" "https://repo.casterlabs.co/maven"]]
- Us :^)
Want your project included here? Open an issue and we'll add you ❤.
This project utilizes Lombok for code generation (e.g Getters, Setters, Constructors), in order for your IDE to properly detect this, you'll need to install the Lombok extension. Instructions can be found here under "IDEs".
We've chosen to be compatible with the 3rd last LTS, which currently is Java 11. This allows us to support a wide variety of projects while not pinning ourselves to an ancient version.
When Java 25 releases in 2025, this project will be upgraded to Java 17. We'll then make a java-11 tag and freeze it for those who may still be stuck on 11.