Skip to content

How to import Guilded4J to your Maven project

MCUmbrella edited this page Nov 14, 2022 · 5 revisions

Open your pom.xml and then:

  1. Add repository from URL "https://maven.floatationdevice.vip/"
    After that the file will look like this:
...
    <repositories>
        <repository>
            ...
        </repository>
        <repository>
            ...
        </repository>
        <repository>
            <id>floatationdevice</id>
            <url>https://maven.floatationdevice.vip/</url>
        </repository>
    </repositories>
...
  1. Add vip.floatationdevice.guilded4j as dependency
    After that the file will look like this:
...
    <dependencies>
        <dependency>
            ...
        </dependency>
        <dependency>
            ...
        </dependency>
        <dependency>
            <groupId>vip.floatationdevice</groupId>
            <artifactId>guilded4j</artifactId>
            <version>0.9.2</version>
        </dependency>
    </dependencies>
...
  1. Re-import the Maven project if needed

NOTE:

  • The value in the <version> tag doesn't always have to be 0.9.2. You can go to the release page to check the full version list
  • You can browse the fake Maven repository by browsing https://github.com/MCUmbrella/maven. (The repository will be migrated to Maven Central after the bot API's public release)
Clone this wiki locally