From b955679efe13e527d3dbb497018a5c602a1d17f3 Mon Sep 17 00:00:00 2001 From: FalsePattern <30945458+FalsePattern@users.noreply.github.com> Date: Sun, 16 Jul 2023 13:22:13 +0200 Subject: [PATCH] update gitignore --- .gitignore | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index a4db5de..89103ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ - -# Created by https://www.toptal.com/developers/gitignore/api/intellij+all,gradle,forgegradle,java -# Edit at https://www.toptal.com/developers/gitignore?templates=intellij+all,gradle,forgegradle,java +# Created by https://www.toptal.com/developers/gitignore/api/java,gradle,forgegradle,intellij+all +# Edit at https://www.toptal.com/developers/gitignore?templates=java,gradle,forgegradle,intellij+all ### ForgeGradle ### # Minecraft client/server files @@ -70,6 +69,9 @@ atlassian-ide-plugin.xml # Cursive Clojure plugin .idea/replstate.xml +# SonarLint plugin +.idea/sonarlint/ + # Crashlytics plugin (for Android Studio and IntelliJ) com_crashlytics_export_strings.xml crashlytics.properties @@ -83,20 +85,13 @@ fabric.properties .idea/caches/build_file_checksums.ser ### Intellij+all Patch ### -# Ignores the whole .idea folder and all .iml files -# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360 +# Ignore everything but code style settings and run configurations +# that are supposed to be shared within teams. -.idea/ +.idea/* -# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023 - -*.iml -modules.xml -.idea/misc.xml -*.ipr - -# Sonarlint plugin -.idea/sonarlint +!.idea/codeStyles +!.idea/runConfigurations ### Java ### # Compiled class file @@ -122,10 +117,12 @@ modules.xml # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* +replay_pid* ### Gradle ### .gradle -build/ +**/build/ +!src/**/build/ # Ignore Gradle GUI config gradle-app.setting @@ -133,21 +130,22 @@ gradle-app.setting # Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) !gradle-wrapper.jar +# Avoid ignore Gradle wrappper properties +!gradle-wrapper.properties + # Cache of project .gradletasknamecache -# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898 -# gradle/wrapper/gradle-wrapper.properties - -### Gradle Patch ### -**/build/ - # Eclipse Gradle plugin generated files # Eclipse Core .project # JDT-specific (Eclipse Java Development Tools) .classpath -# End of https://www.toptal.com/developers/gitignore/api/intellij+all,gradle,forgegradle,java +### Gradle Patch ### +# Java heap dump +*.hprof + +# End of https://www.toptal.com/developers/gitignore/api/java,gradle,forgegradle,intellij+all srgmap.cfg \ No newline at end of file