mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-28 05:52:06 +08:00
- Added the WebMvcExceptionProperties class to configure exception handling related properties: Create the WebMvcExceptionAutoConfiguration class for automatic configuration - Add the GlobalException and InternalException classes as the base classes for global and internal exceptions - Implement the GlobalExceptionHandler class to handle all kinds of exceptions in a unified manner - Added internationalization support and created multilingual message files - Configure the Gradle build script and project structure
19 lines
602 B
Plaintext
19 lines
602 B
Plaintext
plugins{
|
|
alias(libs.plugins.forgeboot.i18n.keygen)
|
|
alias(libs.plugins.kotlin.plugin.spring)
|
|
}
|
|
dependencies {
|
|
implementation(project(Modules.Core.EXTENSION))
|
|
api(project(Modules.I18n.STARTER))
|
|
api(project(Modules.TRACE.STARTER))
|
|
implementation(project(Modules.Webmvc.DTO))
|
|
compileOnly(libs.springBootStarter.validation)
|
|
compileOnly(libs.springBootStarter.web)
|
|
kapt(libs.springBoot.configuration.processor)
|
|
}
|
|
i18nKeyGen {
|
|
rootPackage.set("com.gewuyou.forgeboot.webmvc.extension.i18n")
|
|
readPath.set("src/main/resources/i18n/${project.name}")
|
|
level.set(3)
|
|
}
|