From 6eabdc615d6d53c083c6e8d173052bbd593684ac Mon Sep 17 00:00:00 2001 From: haha252 <55837097+haha252@users.noreply.github.com> Date: Thu, 1 Feb 2024 21:42:30 +0800 Subject: [PATCH] Update readme.md --- readme.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/readme.md b/readme.md index 60f86cef..e74b8554 100644 --- a/readme.md +++ b/readme.md @@ -14,6 +14,26 @@ The plugin has an API that you can use to add feature extensions to customize yo - Dev : https://github.com/Euphillya/Skyllia/actions - Alpha : https://github.com/Euphillya/Skyllia/releases +## API + +Gradle Groovy + +```groovy +repositories { + maven { + url = uri("https://maven.pkg.github.com/Euphillya/Skyllia") + credentials { + username = project.findProperty("gpr.user") ?: System.getenv("USERNAME") + password = project.findProperty("gpr.key") ?: System.getenv("TOKEN") + } + } +} + +dependencies { + compileOnly("fr.euphyllia.skyllia:api:VERSION") +} +``` + ## Compatible Software | Software | Version |