mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-19 14:59:32 +00:00
[release-skip] Fix ci, again * 3
This commit is contained in:
@@ -66,17 +66,4 @@ paperweight {
|
|||||||
serverOutputDir.set(layout.projectDirectory.dir("leaves-server"))
|
serverOutputDir.set(layout.projectDirectory.dir("leaves-server"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
allprojects {
|
|
||||||
apply(plugin = "maven-publish")
|
|
||||||
|
|
||||||
publishing {
|
|
||||||
repositories {
|
|
||||||
maven("https://repo.leavesmc.top/snapshots") {
|
|
||||||
name = "leaves"
|
|
||||||
credentials(PasswordCredentials::class)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
26
patches/api/0007-Leaves-API-publish.patch
Normal file
26
patches/api/0007-Leaves-API-publish.patch
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
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 a6a92386374f49e877c0fdf322235d02fb490795..63a7601ee316bd3dbb18b10adaddcf0936390234 100644
|
||||||
|
--- a/build.gradle.kts
|
||||||
|
+++ b/build.gradle.kts
|
||||||
|
@@ -166,3 +166,14 @@ tasks.check {
|
||||||
|
dependsOn(scanJar)
|
||||||
|
}
|
||||||
|
// 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
|
||||||
Reference in New Issue
Block a user