forgeboot/settings.gradle.kts
gewuyou 15709c6516 refactor(projectStructure):Adjust dependencies and module configuration - Remove duplicate Spring Boot BOM configurations from each module
- Delete API dependencies in modules such as forgeboot-core, forgeboot-i18n
- Add submodule dependencies in the root project
- Optimize settings.gradle.kts, add forgeboot-webflux module
2025-05-02 14:13:27 +08:00

57 lines
2.0 KiB
Plaintext

// The settings file is the entry point of every Gradle build.
// Its primary purpose is to define the subprojects.
// It is also used for some aspects of project-wide configuration, like managing plugins, dependencies, etc.
// https://docs.gradle.org/current/userguide/settings_file_basics.html
dependencyResolutionManagement {
// Use Maven Central as the default repository (where Gradle will download dependencies) in all subprojects.
@Suppress("UnstableApiUsage")
repositories {
mavenCentral()
}
}
plugins {
// Use the Foojay Toolchains plugin to automatically download JDKs required by subprojects.
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
// Include the `app` and `utils` subprojects in the build.
// If there are changes in only one of the projects, Gradle will rebuild only the one that has changed.
// Learn more about structuring projects with Gradle - https://docs.gradle.org/8.7/userguide/multi_project_builds.html
rootProject.name = "forgeboot"
//region module webmvc
include(
"forgeboot-webmvc",
":forgeboot-webmvc:forgeboot-webmvc-version-starter",
":forgeboot-webmvc:forgeboot-webmvc-logger-starter"
)
project(":forgeboot-webmvc").name = "forgeboot-webmvc-spring-boot-starter"
project(":forgeboot-webmvc:forgeboot-webmvc-version-starter").name = "forgeboot-webmvc-version-spring-boot-starter"
project(":forgeboot-webmvc:forgeboot-webmvc-logger-starter").name = "forgeboot-webmvc-logger-spring-boot-starter"
//endregion
//region module core
include(
"forgeboot-core",
":forgeboot-core:forgeboot-core-extension"
)
project(":forgeboot-core").name = "forgeboot-core"
project(":forgeboot-core:forgeboot-core-extension").name = "forgeboot-core-extension"
//endregion
//region i18n
include(
"forgeboot-i18n"
)
project(":forgeboot-i18n").name = "forgeboot-i18n-spring-boot-starter"
//endregion
include(
"forgeboot-webflux",
)
project(":forgeboot-webflux").name = "forgeboot-webflux-spring-boot-starter"