A java client Library to connect to an Archipelago Server.
Use the following Code snippits to add this library to your project using the following.
To use maven add this dependency to your pom.xml
:
<dependency>
<groupId>dev.koifysh</groupId>
<artifactId>archipelago-client</artifactId>
<version>0.1.19</version>
</dependency>
To use Gradle add the maven central repository to your repositories list:
then add this to your dependancy
section
implementation 'dev.koifysh:archipelago-client:0.1.19'
This repository is setup to publish snapshots when new commits hit main
. If you want
to use the snapshot version you will need to do the following:
From Maven Central Documentation
Configure your pom.xml file with the following section:
<repositories>
<repository>
<name>Central Portal Snapshots</name>
<id>central-portal-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
And add the snapshot version into your dependencies:
<dependency>
<groupId>io.github.archipelagomw</groupId>
<artifactId>Java-Client</artifactId>
<version>0.1.20-SNAPSHOT</version>
</dependency>
From Maven Central Documentation
Configure your build.gradle
with the following:
repositories {
maven {
name = 'Central Portal Snapshots'
url = 'https://central.sonatype.com/repository/maven-snapshots/'
// Only search this repository for the specific dependency
content {
includeModule("io.github.archipelagomw", "Java-Client")
}
}
mavenCentral()
}
And add the snapshot version into your dependencies:
implementation 'io.github.archipelagomw:Java-Client:0.1.20-SNAPSHOT'