Requires Java 11 or greater.
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>
<dependency>
<groupId>co.casterlabs</groupId>
<artifactId>koi-sdk</artifactId>
<version>VERSION_OR_HASH</version>
</dependency>
co.casterlabs.EmojiApi:Index
Used to deserialize information from an EmojiFragment
. You can safely omit this dependency if you only use the html
or raw
values. This is required if you plan on creating your own custom events that include Emojis.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>co.casterlabs.EmojiApi</groupId>
<artifactId>Index</artifactId>
<version>3.5.2</version>
</dependency>
org.unbescape:unbescape
Used to safely generate the html
fields in ChatFragment
s. This is only required if you plan on creating your own custom events.
<dependency>
<groupId>org.unbescape</groupId>
<artifactId>unbescape</artifactId>
<version>1.1.6.RELEASE</version>
</dependency>