From cea2f168c50f6c930b2cbdfdd694285f72f28157 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 16 Nov 2023 23:47:12 -0500 Subject: Add remote publishing --- build.gradle | 13 +++++++++++++ settings.gradle | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 1425a6c..e8c0998 100644 --- a/build.gradle +++ b/build.gradle @@ -87,5 +87,18 @@ publishing { // 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 = "CShift" + url = uri("https://git.cshift.net/api/packages/CircleShift/maven") + + credentials(HttpHeaderCredentials) { + name = "Authorization" + value = "token ${auth_token}" + } + + authentication { + header(HttpHeaderAuthentication) + } + } } } diff --git a/settings.gradle b/settings.gradle index 75c4d72..dfacbd1 100644 --- a/settings.gradle +++ b/settings.gradle @@ -7,4 +7,4 @@ pluginManagement { mavenCentral() gradlePluginPortal() } -} \ No newline at end of file +} -- cgit v1.2.3