From 03de1598c844477bfe83dfd91f89a76bda74ba59 Mon Sep 17 00:00:00 2001 From: Glavo Date: Tue, 20 Feb 2024 01:42:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=20Jenkins=20CI=20=E4=B8=8A=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E8=85=BE=E8=AE=AF=E4=BA=91=E9=95=9C=E5=83=8F=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=20Gradle=20Wrapper=20(#2837)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 使用腾讯云下载 Gradle Wrapper * Create config-jenkins.sh * update script --- config-jenkins.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 config-jenkins.sh diff --git a/config-jenkins.sh b/config-jenkins.sh new file mode 100755 index 000000000..8d5ef7f68 --- /dev/null +++ b/config-jenkins.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +_HMCL_PROJECT_ROOT=$(dirname "${BASH_SOURCE[0]}") + +sed -i 's,//services.gradle.org/distributions/,//mirrors.cloud.tencent.com/gradle/,g' "$_HMCL_PROJECT_ROOT/gradle/wrapper/gradle-wrapper.properties"