mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-28 01:12:08 +08:00
- 新增 forgeboot-http 模块,包含 Ktor HTTP 客户端相关代码 - 实现了简单的 HTTP 客户端类和配置类 - 添加了 HTTP 请求重试机制 - 集成了日志记录和 JSON 序列化功能 - 编写了单元测试用例 - 更新了项目配置文件,添加了新模块的依赖
24 lines
709 B
Plaintext
24 lines
709 B
Plaintext
// This file is used to define the repositories used by the project.
|
|
repositories {
|
|
mavenLocal()
|
|
maven {
|
|
url = uri("https://maven.aliyun.com/repository/public/")
|
|
content {
|
|
excludeModule("io.ktor", "ktor-client-mock")
|
|
excludeModule("io.ktor", "ktor-client-mock-jvm") // 如果你之前用的是 jvm 变体,也一并排除
|
|
}
|
|
}
|
|
maven {
|
|
url = uri("https://maven.aliyun.com/repository/spring/")
|
|
}
|
|
maven {
|
|
url = uri("https://maven.aliyun.com/repository/spring-plugin/")
|
|
}
|
|
maven {
|
|
url = uri("https://maven.aliyun.com/repository/gradle-plugin/")
|
|
}
|
|
mavenCentral()
|
|
google()
|
|
gradlePluginPortal()
|
|
}
|