9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-21 07:49:35 +00:00
Files
LeavesMC/patches/api/0007-Leaves-API-publish.patch
2023-12-23 17:17:01 +08:00

27 lines
777 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: violetc <58360096+s-yh-china@users.noreply.github.com>
Date: Sat, 22 Jul 2023 02:33:52 +0800
Subject: [PATCH] Leaves API publish
diff --git a/build.gradle.kts b/build.gradle.kts
index 30c391a6c884efce9d10a60f896be6f264cc8eef..837dfdc3a069cc2c5ba7bf8ef40d7c7699571138 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -212,3 +212,14 @@ tasks.check {
dependsOn(scanJarForOldGeneratedCode)
}
// Paper end
+
+// Leaves start - publish api
+publishing {
+ repositories {
+ maven("https://repo.leavesmc.top/snapshots") {
+ name = "leaves"
+ credentials(PasswordCredentials::class)
+ }
+ }
+}
+// Leaves end - publish api
\ No newline at end of file