From cb06ffa17537297ea1e8cca1d6fd01d8925d372d Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 30 Oct 2024 18:41:00 +0100 Subject: Add maven repo info --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index db9f1db..44fd7d1 100644 --- a/README.md +++ b/README.md @@ -57,11 +57,27 @@ and use the provided translations to format a proper return value. ## Gradle setup +You need to add `maven("https://repo.nea.moe/releases")` as a repository to your `settings.gradle.kts`: + + +```kt +pluginManagement { + repositories { + maven { + url = uri("https://repo.nea.moe/releases") + } + mavenCentral() + gradlePluginPortal() + } +} +``` + Next you need to configure the gradle plugin: ```kt plugins { kotlin("jvm") version "2.0.20" + // Check https://repo.nea.moe/#/releases/moe/nea/mc-auto-translations/moe.nea.mc-auto-translations.gradle.plugin id("moe.nea.mc-auto-translations") version "0.0.1" } -- cgit