mirror of
https://github.com/BX-Team/DivineMC.git
synced 2026-01-04 15:31:43 +00:00
add api publishing
This commit is contained in:
25
patches/api/0005-DivineMC-API-Publish.patch
Normal file
25
patches/api/0005-DivineMC-API-Publish.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: NONPLAYT <76615486+NONPLAYT@users.noreply.github.com>
|
||||
Date: Tue, 14 May 2024 17:22:39 +0300
|
||||
Subject: [PATCH] DivineMC API Publish
|
||||
|
||||
|
||||
diff --git a/build.gradle.kts b/build.gradle.kts
|
||||
index 6aef83558a5ef7e84873b127c3bb43a6468c9a24..78cae5a080f65646494e7d1d8a52df969db6d3b1 100644
|
||||
--- a/build.gradle.kts
|
||||
+++ b/build.gradle.kts
|
||||
@@ -222,3 +222,14 @@ tasks.check {
|
||||
dependsOn(scanJarForOldGeneratedCode)
|
||||
}
|
||||
// Paper end
|
||||
+
|
||||
+// DivineMC start - publish to GitHub Packages
|
||||
+publishing {
|
||||
+ repositories {
|
||||
+ maven("https://repo.bx-team.space/snapshots") {
|
||||
+ name = "divinemc"
|
||||
+ credentials(PasswordCredentials::class)
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
+// DivineMC end
|
||||
Reference in New Issue
Block a user