mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-03-10 12:35:17 +08:00
Update Java
upstream
This commit is contained in:
parent
920933fc47
commit
628f887a3b
@ -3,17 +3,23 @@
|
|||||||
* -------------------------------------------------------------
|
* -------------------------------------------------------------
|
||||||
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
||||||
* Contributors : Nil Null <nil@null.org>
|
* Contributors : Nil Null <nil@null.org>
|
||||||
|
* |
|
||||||
* Created On : <2023-08-31>
|
* Created On : <2023-08-31>
|
||||||
* Last Modified : <2024-08-09>
|
* Last Modified : <2024-12-18>
|
||||||
* ------------------------------------------------------------*/
|
* ------------------------------------------------------------*/
|
||||||
|
|
||||||
|
static SourceProvider_t pl_java_upstream =
|
||||||
|
{
|
||||||
|
def_upstream, "https://mvnrepository.com/",
|
||||||
|
def_need_measure_info
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @update 2024-04-18
|
* @update 2024-12-18
|
||||||
* @note 缺少教育网或开源社区软件源
|
|
||||||
*/
|
*/
|
||||||
static Source_t pl_java_sources[] =
|
static Source_t pl_java_sources[] =
|
||||||
{
|
{
|
||||||
{&UpstreamProvider, NULL},
|
{&pl_java_upstream, NULL},
|
||||||
{&Ali, "https://maven.aliyun.com/repository/public/"},
|
{&Ali, "https://maven.aliyun.com/repository/public/"},
|
||||||
{&Huawei, "https://mirrors.huaweicloud.com/repository/maven/"},
|
{&Huawei, "https://mirrors.huaweicloud.com/repository/maven/"},
|
||||||
{&Netease, "http://mirrors.163.com/maven/repository/maven-public/"} // 网易的24小时更新一次
|
{&Netease, "http://mirrors.163.com/maven/repository/maven-public/"} // 网易的24小时更新一次
|
||||||
@ -55,7 +61,7 @@ pl_java_getsrc (char *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Java 换源,参考:https://developer.aliyun.com/mirror/maven
|
* @consult https://developer.aliyun.com/mirror/maven
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
pl_java_setsrc (char *option)
|
pl_java_setsrc (char *option)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user