- 创建项目基本结构和配置 - 添加 Jib 插件支持镜像构建 - 配置 Spring Boot 和 Spring Cloud 依赖 - 设置 Nacos 服务发现 - 添加阿里云 DashScope 配置
21 lines
669 B
Plaintext
21 lines
669 B
Plaintext
// buildSrc/settings.gradle.kts
|
|
pluginManagement {
|
|
repositories {
|
|
mavenLocal() // 从本地仓库获取插件
|
|
gradlePluginPortal() // 从 Gradle 插件门户获取插件
|
|
mavenCentral() // 从 Maven 中央仓库获取依赖
|
|
}
|
|
plugins {
|
|
// 解决 JDK 工具链问题
|
|
// https://mvnrepository.com/artifact/org.gradle.toolchains/foojay-resolver
|
|
id("org.gradle.toolchains.foojay-resolver") version "0.9.0"
|
|
}
|
|
}
|
|
dependencyResolutionManagement {
|
|
versionCatalogs {
|
|
create("libs") {
|
|
from(files("../gradle/libs.versions.toml"))
|
|
}
|
|
}
|
|
}
|
|
rootProject.name = "buildSrc" |