gradle与maven的.gitignore配置文件

1.gradle的.gitignore

gradle项目

# Eclipse, ctags, Mac metadata, log files
.classpath
.project
.settings
tags
*.log
*.orig

# Created by .ignore support plugin (hsz.mobi)

.gradle
.gradle/*
local.properties

# General build files
**/build/*

lib/dokka.jar
lib/quasar.jar

**/logs/*

### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio

*.iml

## Directory-based project format:
/gradle-plugins/.idea/

# Include the -parameters compiler option by default in IntelliJ required for serialization.
!.idea/compiler.xml

# if you remove the above rule, at least ignore the following:

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml

# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml

# Gradle:
# .idea/gradle.xml
# .idea/libraries
/gradle-plugins/gradle*

# Mongo Explorer plugin:
# .idea/mongoSettings.xml

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:
# IntelliJ
**/out/
/classes/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties

# docs related
docs/virtualenv/

# bft-smart
**/config/currentView

# vim
*.swp
*.swn
*.swo

# Files you may find useful to have in your working directory.
PLAN
NOTES
TODO
compiler.xml
test.java

*/src/main/resources/application.properties
*/src/main/resources/electronic-signature.properties
*/src/main/resources/logback.xml


.idea
.ideaDataSources

project-dependencies.dot
project-dependencies.png

2. maven以及普通ssm web项目的.gitignore

普通ssm web项目

# Created by .ignore support plugin (hsz.mobi)
### Example user template template
### Example user template

# IntelliJ project files
.idea
*.iml
webapp/jsp
webapp/js
webapp/styles
webapp/WEB-INF
.classpath
.project
.tern-project
out
.settings
gen

maven项目

### Example user template template
### Example user template

# IntelliJ project files
.idea
*.iml
out
gen
target/
webapp/js
webapp/jsp
...
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Tronhon

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值