From f6ecfac78b963a694a13891df06413df104b19fb Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Fri, 17 Nov 2023 01:20:36 -0500 Subject: Update for 1.20 --- build.gradle | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'build.gradle') 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) + } + } } } -- cgit v1.2.3