summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-11-16 23:47:12 -0500
committerKyle Gunger <kgunger12@gmail.com>2023-11-16 23:47:12 -0500
commitcea2f168c50f6c930b2cbdfdd694285f72f28157 (patch)
tree91116b1c75a83de5fb9be4d030e1eb2eb6282719
parent20f2c0836b309a95cfcf0d9c13fafeefc5c1d5e7 (diff)
Add remote publishing
-rw-r--r--build.gradle13
-rw-r--r--settings.gradle2
2 files changed, 14 insertions, 1 deletions
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
+}