Skip to content

Commit 13c5725

Browse files
committed
update gitignore, pull in idea project-specifics
1 parent e28214c commit 13c5725

6 files changed

Lines changed: 181 additions & 24 deletions

File tree

.gitattributes

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
* text eol=lf
2+
3+
*.[jJ][aA][rR] binary
4+
5+
*.[pP][nN][gG] binary
6+
*.[jJ][pP][gG] binary
7+
*.[jJ][pP][eE][gG] binary
8+
*.[gG][iI][fF] binary
9+
*.[tT][iI][fF] binary
10+
*.[tT][iI][fF][fF] binary
11+
*.[iI][cC][oO] binary
12+
*.[sS][vV][gG] text
13+
*.[eE][pP][sS] binary
14+
*.[xX][cC][fF] binary
15+
16+
*.[kK][aA][rR] binary
17+
*.[mM]4[aA] binary
18+
*.[mM][iI][dD] binary
19+
*.[mM][iI][dD][iI] binary
20+
*.[mM][pP]3 binary
21+
*.[oO][gG][gG] binary
22+
*.[rR][aA] binary
23+
24+
*.7[zZ] binary
25+
*.[gG][zZ] binary
26+
*.[tT][aA][rR] binary
27+
*.[tT][gG][zZ] binary
28+
*.[zZ][iI][pP] binary
29+
30+
*.[tT][cC][nN] binary
31+
*.[sS][oO] binary
32+
*.[dD][lL][lL] binary
33+
*.[dD][yY][lL][iI][bB] binary
34+
*.[pP][sS][dD] binary
35+
*.[tT][tT][fF] binary
36+
*.[oO][tT][fF] binary
37+
38+
*.[pP][aA][tT][cC][hH] -text
39+
40+
*.[bB][aA][tT] text eol=crlf
41+
*.[cC][mM][dD] text eol=crlf
42+
*.[pP][sS]1 text eol=crlf
43+
44+
*[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary

.gitignore

Lines changed: 39 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
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/gradle,forgegradle,kotlin,java,scala,intellij+all
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=gradle,forgegradle,kotlin,java,scala,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)
7476
com_crashlytics_export_strings.xml
7577
crashlytics.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-
89-
.idea/
90-
91-
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
88+
# Ignore everything but code style settings and run configurations
89+
# that are supposed to be shared within teams.
9290

93-
*.iml
94-
modules.xml
95-
.idea/misc.xml
96-
*.ipr
91+
.idea/*
9792

98-
# Sonarlint plugin
99-
.idea/sonarlint
93+
!.idea/codeStyles
94+
!.idea/runConfigurations
10095

10196
### Java ###
10297
# Compiled class file
@@ -122,32 +117,52 @@ modules.xml
122117

123118
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
124119
hs_err_pid*
120+
replay_pid*
121+
122+
### Kotlin ###
123+
# Compiled class file
124+
125+
# Log file
126+
127+
# BlueJ files
128+
129+
# Mobile Tools for Java (J2ME)
130+
131+
# Package Files #
132+
133+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
134+
135+
### Scala ###
136+
137+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
125138

126139
### Gradle ###
127140
.gradle
128-
build/
141+
**/build/
142+
!src/**/build/
129143

130144
# Ignore Gradle GUI config
131145
gradle-app.setting
132146

133147
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
134148
!gradle-wrapper.jar
135149

150+
# Avoid ignore Gradle wrappper properties
151+
!gradle-wrapper.properties
152+
136153
# Cache of project
137154
.gradletasknamecache
138155

139-
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
140-
# gradle/wrapper/gradle-wrapper.properties
141-
142-
### Gradle Patch ###
143-
**/build/
144-
145156
# Eclipse Gradle plugin generated files
146157
# Eclipse Core
147158
.project
148159
# JDT-specific (Eclipse Java Development Tools)
149160
.classpath
150161

151-
# End of https://www.toptal.com/developers/gitignore/api/intellij+all,gradle,forgegradle,java
162+
### Gradle Patch ###
163+
# Java heap dump
164+
*.hprof
165+
166+
# End of https://www.toptal.com/developers/gitignore/api/gradle,forgegradle,kotlin,java,scala,intellij+all
152167

153-
srgmap.cfg
168+
!.idea/copyright

.idea/codeStyles/Project.xml

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/LGPLv3.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)