Skip to content

Import dkim19375Core

dkim19375 edited this page Jan 1, 2021 · 2 revisions

GitHubBadge

This page is about using dkim19375Core in your own plugin.

Importing to your project

You need to import dkim19375Core into your project in order to use it.

Import with Maven

To import dkim19375Core, simply add the following code to your pom.xml
Replace {VERSION} with the version listed at the top of this page.

    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>
    <dependencies>
        <dependency>
         <groupId>com.github.dkim19375</groupId>
          <artifactId>dkim19375Core</artifactId>
          <version>{VERSION}</version>
        </dependency>
    </dependencies>

Import with Gradle

Here is how you can import dkim19375Core through gradle.
Put this into your gradle.build.
Replace {VERSION} with the version listed at the top of this page.

repositories {
    maven {
        url = 'https://jitpack.io'
    }
}

dependencies {
    implementation 'tk.olivmc:UtilitiesAPI:{VERSION}'
}

Shading dkim19375Core

You will have to shade dkim19375Core in order to use this. This is NOT a plugin, it does not need to be added to the dependencies in plugin.yml.

Using ShadowJar and Gradle

You will have to add this to your buildscript:

plugins {
    id 'com.github.johnrengelman.shadow' version '6.1.0'
    id 'java'
}

Once you've done that, in order to build, you can run: shadowJar.

Clone this wiki locally