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 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'build.gradle') 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) + } + } } } -- cgit v1.2.3