From d386e6f770e989adb74a85ef497346bf74fa8759 Mon Sep 17 00:00:00 2001 From: Eyre_S Date: Tue, 7 Jun 2022 16:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20maven=20publish=20?= =?UTF-8?q?=E5=88=B0=E6=9C=AC=E5=9C=B0=E7=9A=84=E8=B7=AF=E5=BE=84=E5=A3=B0?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 现在需要在本地设置一个 publishLocalArchiveRepoUrl 变量,用于使 maven publish 推送到本地仓库 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 35dfc91..0fa5a50 100644 --- a/build.gradle +++ b/build.gradle @@ -90,7 +90,7 @@ publishing { repositories{ maven { name 'builds' - url = "file://" + new File("./build/publishing").getAbsolutePath() + url publishLocalArchiveRepoUrl } maven { name '-ws-'