feat(project): initialize Spring Boot weblog project with Gradle modules

This commit is contained in:
2025-11-26 19:29:21 +08:00
commit d689a39a98
21 changed files with 358 additions and 0 deletions

68
.gitignore vendored Normal file
View File

@@ -0,0 +1,68 @@
# --------------------------------------------------------------------------
# Gradle 构建相关 (必须忽略)
# --------------------------------------------------------------------------
.gradle/
build/
!gradle/wrapper/gradle-wrapper.jar
!gradle/wrapper/gradle-wrapper.properties
# Gradle 缓存与日志
gradle-app.setting
.gradle-test-kit/
# --------------------------------------------------------------------------
# IntelliJ IDEA 相关 (IDE 配置文件)
# --------------------------------------------------------------------------
# 忽略旧版 IntelliJ 的输出目录
out/
# 忽略项目生成的模块文件
*.iml
*.ipr
*.iws
# .idea 文件夹处理原则:通常保留大部分配置以便团队共享,但要忽略用户个人的 workspace 设置
# 忽略个人工作区配置
.idea/workspace.xml
.idea/usage.statistics.xml
.idea/dictionaries
.idea/shelf
.idea/httpRequests
# 下面这些文件通常建议提交,方便团队统一配置,或者你换电脑后能保留配置
# .idea/encodings.xml
# .idea/compiler.xml
# .idea/misc.xml
# .idea/vcs.xml
# --------------------------------------------------------------------------
# Java & Spring Boot 通用
# --------------------------------------------------------------------------
*.class
*.log
*.ctxt
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# 崩溃日志
hs_err_pid*
replay_pid*
# --------------------------------------------------------------------------
# 操作系统生成的文件
# --------------------------------------------------------------------------
.DS_Store
Thumbs.db
ehthumbs.db
Desktop.ini
# --------------------------------------------------------------------------
# 敏感信息 (根据需要开启,防止密钥泄露)
# --------------------------------------------------------------------------
application-prod.yml
application-dev.yml
.env