From 3498f9b7f5642a833e45b774ce986f3d0721d658 Mon Sep 17 00:00:00 2001 From: melontini <104443436+melontini@users.noreply.github.com> Date: Wed, 10 Apr 2024 22:44:30 +0700 Subject: [PATCH] Add GitHub Packages repo. --- build.gradle | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 9ee841e..8c78d94 100644 --- a/build.gradle +++ b/build.gradle @@ -125,11 +125,14 @@ publishing { } } - // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. repositories { - // Add repositories to publish to here. - // Notice: This block does NOT have the same function as the block in the top level. - // The repositories here will be used for publishing your artifact, not for - // retrieving dependencies. + maven { + name = "GitHubPackages" + url = "https://maven.pkg.github.com/constellation-mc/good-tea" + credentials { + username = System.getenv("GITHUB_ACTOR") + password = System.getenv("GITHUB_TOKEN") + } + } } }