summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-11-17 01:20:36 -0500
committerKyle Gunger <kgunger12@gmail.com>2023-11-17 01:20:36 -0500
commitf6ecfac78b963a694a13891df06413df104b19fb (patch)
treef63a4bedfe46d7da2ab61406387f80de76834b36 /build.gradle
parent1153728baf02b300117227b0811a03c569b8f12a (diff)
Update for 1.20HEADmain
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)
+ }
+ }
}
}