1 Star 0 Fork 24

zmr_2020/kafka

forked from src-openEuler/kafka 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
0001-adopt-huaweimaven.patch 1.90 KB
一键复制 编辑 原始数据 按行查看 历史
xiexing 提交于 2022-09-26 00:57 . update 0001-adopt-huaweimaven.patch.
diff -Naur kafka-2.8.1-src/build.gradle kafka-2.8.1-src-change/build.gradle
--- kafka-2.8.1-src/build.gradle 2021-09-14 21:03:12.000000000 +0800
+++ kafka-2.8.1-src-change/build.gradle 2022-08-11 22:41:08.381225132 +0800
@@ -19,11 +19,7 @@
buildscript {
repositories {
- mavenCentral()
- jcenter()
- maven {
- url "https://plugins.gradle.org/m2/"
- }
+ maven{url 'https://repo.huaweicloud.com/repository/maven/'}
}
apply from: file('gradle/buildscript.gradle'), to: buildscript
apply from: "$rootDir/gradle/dependencies.gradle"
@@ -54,7 +50,7 @@
allprojects {
repositories {
- mavenCentral()
+ maven{url 'https://repo.huaweicloud.com/repository/maven/'}
}
apply plugin: 'idea'
diff -Naur kafka-2.8.1-src/gradle/buildscript.gradle kafka-2.8.1-src-change/gradle/buildscript.gradle
--- kafka-2.8.1-src/gradle/buildscript.gradle 2021-09-14 21:03:12.000000000 +0800
+++ kafka-2.8.1-src-change/gradle/buildscript.gradle 2022-08-11 23:00:43.143217999 +0800
@@ -17,7 +17,7 @@
repositories {
// For license plugin.
maven {
- url 'https://dl.bintray.com/content/netflixoss/external-gradle-plugins/'
+ url 'https://repo.huaweicloud.com/repository/maven/'
}
}
}
diff -Naur kafka-2.8.1-src/gradle/wrapper/gradle-wrapper.properties kafka-2.8.1-src-change/gradle/wrapper/gradle-wrapper.properties
--- kafka-2.8.1-src/gradle/wrapper/gradle-wrapper.properties 2021-09-14 21:03:12.000000000 +0800
+++ kafka-2.8.1-src-change/gradle/wrapper/gradle-wrapper.properties 2022-08-11 22:41:33.044813236 +0800
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.1-all.zip
+#distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.1-all.zip
+distributionUrl=https\://repo.huaweicloud.com/gradle/gradle-6.8.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zmr_2020/kafka.git
git@gitee.com:zmr_2020/kafka.git
zmr_2020
kafka
kafka
master

搜索帮助