summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle18
1 files changed, 18 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 1425a6c..7ba8032 100644
--- a/build.gradle
+++ b/build.gradle
@@ -16,6 +16,9 @@ repositories {
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
+ maven {
+ url "https://git.cshift.net/api/packages/CircleShift/maven"
+ }
}
loom {
@@ -43,6 +46,8 @@ dependencies {
// These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.
// modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
+
+ modImplementation "net.cshift.api:TransitAPI:3.0.0-alpha-2"
}
processResources {
@@ -87,5 +92,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)
+ }
+ }
}
}