Published Packages
Maven repository URL, published artifact coordinates, Gradle and Maven dependency snippets for SIR modules, commands, and the core API.
Maven repository
The SIR publish workflow deploys the API jar, individual module jars, individual command-provider jars, and two aggregate POMs to the CroaBeast Maven repository.
The main plugin jar SIR-2.3.1.jar is uploaded as a GitHub Actions artifact by the workflow. It is not deployed as a Maven library artifact.
https://croabeast.github.io/repo/Core API dependency
Use this coordinate when compiling an integration, command provider, module, or SIR+ addon against the shared API.
Gradle Kotlin
val sirVersion = "2.3.1"
repositories {
maven("https://croabeast.github.io/repo/")
}
dependencies {
implementation("com.bitaspire.sir:api:$sirVersion")
}Gradle Groovy
def sirVersion = '2.3.1'
repositories {
maven { url = uri('https://croabeast.github.io/repo/') }
}
dependencies {
implementation "com.bitaspire.sir:api:$sirVersion"
}Maven
<repositories>
<repository>
<id>croabeast</id>
<url>https://croabeast.github.io/repo/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.bitaspire.sir</groupId>
<artifactId>api</artifactId>
<version>2.3.1</version>
</dependency>
</dependencies>Published API artifact
| Group | Artifact | Packaging | Coordinate |
|---|---|---|---|
com.bitaspire.sir | api | jar | com.bitaspire.sir:api:2.3.1 |
If your build creates fat jars or shaded jars, verify the final artifact before release. Normal addons and integrations should compile against SIR API, not bundle a second private copy of the API classes.
Published module artifacts
The workflow publishes each module jar under com.bitaspire.sir.module.
val sirVersion = "2.3.1"
repositories {
maven("https://croabeast.github.io/repo/")
}
dependencies {
implementation("com.bitaspire.sir.module:channels:$sirVersion")
implementation("com.bitaspire.sir.module:moderation:$sirVersion")
}| Artifact | Coordinate |
|---|---|
advancements | com.bitaspire.sir.module:advancements:2.3.1 |
announcements | com.bitaspire.sir.module:announcements:2.3.1 |
channels | com.bitaspire.sir.module:channels:2.3.1 |
cooldowns | com.bitaspire.sir.module:cooldowns:2.3.1 |
discord | com.bitaspire.sir.module:discord:2.3.1 |
emojis | com.bitaspire.sir.module:emojis:2.3.1 |
join-quit | com.bitaspire.sir.module:join-quit:2.3.1 |
login | com.bitaspire.sir.module:login:2.3.1 |
mentions | com.bitaspire.sir.module:mentions:2.3.1 |
moderation | com.bitaspire.sir.module:moderation:2.3.1 |
motd | com.bitaspire.sir.module:motd:2.3.1 |
tags | com.bitaspire.sir.module:tags:2.3.1 |
vanish | com.bitaspire.sir.module:vanish:2.3.1 |
Module aggregate POM
com.bitaspire.sir.module:all:2.3.1 is a POM-only aggregate that pulls in all module artifacts.
dependencies {
implementation("com.bitaspire.sir.module:all:$sirVersion@pom")
}<dependency>
<groupId>com.bitaspire.sir.module</groupId>
<artifactId>all</artifactId>
<version>2.3.1</version>
<type>pom</type>
</dependency>Published command artifacts
The workflow publishes each command-provider jar under com.bitaspire.sir.command.
val sirVersion = "2.3.1"
repositories {
maven("https://croabeast.github.io/repo/")
}
dependencies {
implementation("com.bitaspire.sir.command:message:$sirVersion")
implementation("com.bitaspire.sir.command:mute:$sirVersion")
}| Artifact | Coordinate |
|---|---|
clear-chat | com.bitaspire.sir.command:clear-chat:2.3.1 |
color | com.bitaspire.sir.command:color:2.3.1 |
ignore | com.bitaspire.sir.command:ignore:2.3.1 |
message | com.bitaspire.sir.command:message:2.3.1 |
mute | com.bitaspire.sir.command:mute:2.3.1 |
nick | com.bitaspire.sir.command:nick:2.3.1 |
print | com.bitaspire.sir.command:print:2.3.1 |
settings | com.bitaspire.sir.command:settings:2.3.1 |
Command aggregate POM
com.bitaspire.sir.command:all:2.3.1 is a POM-only aggregate that pulls in all command-provider artifacts.
dependencies {
implementation("com.bitaspire.sir.command:all:$sirVersion@pom")
}<dependency>
<groupId>com.bitaspire.sir.command</groupId>
<artifactId>all</artifactId>
<version>2.3.1</version>
<type>pom</type>
</dependency>Last updated on