From a653de8e00c548c7c235d8c2e67f4f02cf5ec649 Mon Sep 17 00:00:00 2001 From: Frank van der Heijden <22407829+FrankHeijden@users.noreply.github.com> Date: Mon, 11 Jan 2021 19:29:21 +0100 Subject: [PATCH] Update README.md with maven repository/dependency --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 21dd424..141c5ac 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,33 @@ For the full description of this plugin, please refer to the ServerUtils [Spigot 1. Make sure you have [gradle][gradleInstall] installed. 2. Run the project with `gradle clean build` to compile all submodules with dependencies. 3. Afterwards, the platform specific plugins and platform independent compiled jars can be found in the `jars/` directory. - + +## API Repository / Dependency +Please use the following maven repository: +#### Gradle: +```groovy +maven { url 'https://jitpack.io' } +``` +and as dependency: +```groovy +compileOnly 'com.github.FrankHeijden:ServerUtils:TAG' +``` +#### Maven: +```xml + + jitpack.io + https://jitpack.io + +``` +and as dependency: +```xml + + com.github.FrankHeijden + ServerUtils + TAG + provided + +``` + ## Commands and Permissions Please refer to the [SpigotMC][spigot] page for an updated overview of the commands and permissions.