mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-28 01:24:25 +08:00
- Added ApiVersion annotations for version control of controllers and methods - Implement VersionAutoConfiguration automatic configuration class - Add ApiVersionRequestMappingHandlerMapping to handle version mapping - Update build configuration, support Spring Boot and version control - Added Git-related configuration files
32 lines
1.4 KiB
Plaintext
32 lines
1.4 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"
|
|
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" |