mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-27 19:36:36 +08:00
- Added I18nProperties configuration class to define international related properties - Implement I18nAutoConfiguration automatic configuration class, providing international message sources and local resolvers - Added the I18nWebConfiguration configuration class to register language switching interceptors - Added InternalInformation and ResponseInformation interfaces to extend and provide international information to the outside world - Implement I18nBaseException class to handle internationalization-related exceptions - Add ReactiveLocaleResolver filter to parse language information in WebFlux requests - Create a WebFluxLocaleResolver interface to define a local resolver for WebFlux type - Updated project
51 lines
1.9 KiB
Plaintext
51 lines
1.9 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 |