From 688d88a55c3cd7d047d9c9af5a0c52b184d6522f Mon Sep 17 00:00:00 2001 From: LamGC Date: Tue, 26 Apr 2022 00:13:19 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E8=A1=A5=E5=85=85=20Publish=20?= =?UTF-8?q?=E5=85=83=E4=BF=A1=E6=81=AF.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 补充信息, 方便发布到仓库(即使不是中央仓库). --- build.gradle.kts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index c053c41..ad363ee 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -59,6 +59,31 @@ publishing { pom { name.set("Oracle-manager") description.set("在 Telegram 管理你的 Oracle.") + + url.set("https://github.com/LamGC/oracle-manager") + licenses { + license { + name.set("The MIT License") + url.set("https://www.opensource.org/licenses/mit-license.php") + } + } + developers { + developer { + id.set("LamGC") + name.set("LamGC") + email.set("lam827@lamgc.net") + url.set("https://github.com/LamGC") + } + } + scm { + connection.set("scm:git:https://github.com/LamGC/oracle-manager.git") + developerConnection.set("scm:git:https://github.com/LamGC/oracle-manager.git") + url.set("https://github.com/LamGC/oracle-manager") + } + issueManagement { + url.set("https://github.com/LamGC/oracle-manager/issues") + system.set("Github Issues") + } } } }