From e5209df8a0bfa52eb4ca05f906158a7ea648f1c6 Mon Sep 17 00:00:00 2001 From: bconlon <67203206+bconlon1@users.noreply.github.com> Date: Thu, 21 Sep 2023 19:14:01 -0700 Subject: [PATCH] chore: Fix maven guide [ci skip] --- docs/README.md | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/docs/README.md b/docs/README.md index d82d0f5..29971a8 100644 --- a/docs/README.md +++ b/docs/README.md @@ -12,22 +12,20 @@ To install this mod through GitHub Packages in Gradle for development, you will
Buildscript Code +`settings.gradle` ``` -buildscript { - repositories { - ... - maven { - name 'Gradle' - url "https://plugins.gradle.org/m2/" +pluginManagement { + repositories { + gradlePluginPortal() } - } - dependencies { - ... - classpath group: 'io.github.0ffz', name: 'gpr-for-gradle', version: '1.+', changing: true - } } -... -apply plugin: 'io.github.0ffz.github-packages' +``` + +`build.gradle` +``` +plugins { + id 'io.github.0ffz.github-packages' version '[1,2)' +} ```