1-
2- # Created by https://www.toptal.com/developers/gitignore/api/intellij+all,gradle,forgegradle,java
3- # Edit at https://www.toptal.com/developers/gitignore?templates=intellij+all,gradle,forgegradle,java
1+ # Created by https://www.toptal.com/developers/gitignore/api/java,gradle,forgegradle,intellij+all
2+ # Edit at https://www.toptal.com/developers/gitignore?templates=java,gradle,forgegradle,intellij+all
43
54# ## ForgeGradle ###
65# Minecraft client/server files
@@ -70,6 +69,9 @@ atlassian-ide-plugin.xml
7069# Cursive Clojure plugin
7170.idea /replstate.xml
7271
72+ # SonarLint plugin
73+ .idea /sonarlint /
74+
7375# Crashlytics plugin (for Android Studio and IntelliJ)
7476com_crashlytics_export_strings.xml
7577crashlytics.properties
@@ -83,20 +85,13 @@ fabric.properties
8385.idea /caches /build_file_checksums.ser
8486
8587# ## Intellij+all Patch ###
86- # Ignores the whole .idea folder and all .iml files
87- # See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
88+ # Ignore everything but code style settings and run configurations
89+ # that are supposed to be shared within teams.
8890
89- .idea /
91+ .idea /*
9092
91- # Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
92-
93- * .iml
94- modules.xml
95- .idea /misc.xml
96- * .ipr
97-
98- # Sonarlint plugin
99- .idea /sonarlint
93+ ! .idea /codeStyles
94+ ! .idea /runConfigurations
10095
10196# ## Java ###
10297# Compiled class file
@@ -122,32 +117,35 @@ modules.xml
122117
123118# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
124119hs_err_pid *
120+ replay_pid *
125121
126122# ## Gradle ###
127123.gradle
128- build /
124+ ** /build /
125+ ! src /** /build /
129126
130127# Ignore Gradle GUI config
131128gradle-app.setting
132129
133130# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
134131! gradle-wrapper.jar
135132
133+ # Avoid ignore Gradle wrappper properties
134+ ! gradle-wrapper.properties
135+
136136# Cache of project
137137.gradletasknamecache
138138
139- # # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
140- # gradle/wrapper/gradle-wrapper.properties
141-
142- # ## Gradle Patch ###
143- ** /build /
144-
145139# Eclipse Gradle plugin generated files
146140# Eclipse Core
147141.project
148142# JDT-specific (Eclipse Java Development Tools)
149143.classpath
150144
151- # End of https://www.toptal.com/developers/gitignore/api/intellij+all,gradle,forgegradle,java
145+ # ## Gradle Patch ###
146+ # Java heap dump
147+ * .hprof
148+
149+ # End of https://www.toptal.com/developers/gitignore/api/java,gradle,forgegradle,intellij+all
152150
153151srgmap.cfg
0 commit comments