diff -Nur kafka-2.4.0-src/build.gradle ../kafka/kafka-2.4.0-src/build.gradle
--- kafka-2.4.0-src/build.gradle	2019-12-10 00:46:25.000000000 +0800
+++ ../kafka/kafka-2.4.0-src/build.gradle	2021-07-15 18:14:53.000000000 +0800
@@ -19,10 +19,8 @@
 
 buildscript {
   repositories {
-    mavenCentral()
-    jcenter()
     maven {
-      url "https://plugins.gradle.org/m2/"
+      url "https://mirrors.huaweicloud.com/repository/maven/"
     }
   }
   apply from: file('gradle/buildscript.gradle'), to: buildscript
@@ -52,7 +50,7 @@
 allprojects {
 
   repositories {
-    mavenCentral()
+    maven {url "https://mirrors.huaweicloud.com/repository/maven/"}
   }
   
   apply plugin: 'idea'
