summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}