Dependency - SoKnight/ImgBB-Java-SDK GitHub Wiki

Introduction

I am use Maven instead of any other project build management tools. So only Maven dependency described there.

Adding a repository

Firstly, go to pom.xml in your project and check the repositories tag. If it isn't exists now, create it.

Then you can add my Maven repository hosted by GitHub to your pom.xml:

<repositories>
    <repository>
        <id>ImgBB-maven-repo</id>
        <url>https://github.com/SoKnight/ImgBB-Java-SDK/raw/maven-repo/</url>
        <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
        </snapshots>
    </repository>
</repositories>

Adding a dependency

At now you can add my SDK as project dependency to your pom.xml:

<dependencies>
    <!-- ImgBB Java SDK -->
    <dependency>
        <groupId>ru.soknight</groupId>
        <artifactId>imgbb</artifactId>
        <version>1.0.0</version>
    </dependency>
</dependencies>
⚠️ **GitHub.com Fallback** ⚠️