From 093ded264d3d35b10746a57b23b2b3892d15b785 Mon Sep 17 00:00:00 2001 From: Exlll Date: Sat, 24 Feb 2024 02:29:29 +0100 Subject: [PATCH] Document import via Maven Central --- README.md | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ec73794..e469e81 100644 --- a/README.md +++ b/README.md @@ -1018,11 +1018,10 @@ the `dev` branch.** To use this library, import it into your project with Maven or Gradle. Examples of how to do that are at the end of this section within the spoilers. Currently, -there are two repositories from which you can -choose: [jitpack.io](https://jitpack.io/#Exlll/ConfigLib) and GitHub (which -requires authentication, see -this [issue](https://github.com/Exlll/ConfigLib/issues/12) if you have any -problems). +there are three repositories from which you can choose: +- [Maven Central](https://central.sonatype.com/search?q=de.exlll) (recommended), +- [jitpack.io](https://jitpack.io/#Exlll/ConfigLib), and +- GitHub (which [requires authentication](https://github.com/Exlll/ConfigLib/issues/12)) This library has additional dependencies (namely, a YAML parser) which are not exposed by the artifact you import. You can download _plugin versions_ of this @@ -1045,6 +1044,26 @@ If you want serialization support for Bukkit classes like `ItemStack`, replace `configlib-yaml` with `configlib-paper` (see [here](#support-for-bukkit-classes-like-itemstack)). +#### Import via Maven Central + +**Maven** + +```xml + + de.exlll + configlib-yaml + 4.5.0 + +``` + +**Gradle** + +```kotlin +repositories { mavenCentral() } + +dependencies { implementation("de.exlll:configlib-yaml:4.5.0") } +``` +
Import via jitpack.io