Skip to content

Commit fb84854

Browse files
committed
Simplified gitignores
1 parent 202cce3 commit fb84854

File tree

21 files changed

+87
-174
lines changed

21 files changed

+87
-174
lines changed

.gitignore

Lines changed: 87 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -1,138 +1,102 @@
1-
.DS_Store
2-
.AppleDouble
3-
._*
4-
*~
5-
/build/shared/reference.zip
6-
7-
*.x
8-
9-
#*.iml
10-
#/.idea
11-
12-
# may need to bring this back later
13-
/.idea/codeStyles
14-
15-
# via https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
16-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
17-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
18-
19-
# User-specific stuff
20-
.idea/**/workspace.xml
21-
.idea/**/tasks.xml
22-
.idea/**/usage.statistics.xml
23-
.idea/**/dictionaries
24-
.idea/**/shelf
25-
26-
# Generated files
27-
.idea/**/contentModel.xml
28-
29-
# Sensitive or high-churn files
30-
.idea/**/dataSources/
31-
.idea/**/dataSources.ids
32-
.idea/**/dataSources.local.xml
33-
.idea/**/sqlDataSources.xml
34-
.idea/**/dynamic.xml
35-
.idea/**/uiDesigner.xml
36-
.idea/**/dbnavigator.xml
37-
38-
# Gradle
39-
.idea/**/gradle.xml
40-
.idea/**/libraries
41-
42-
# Gradle and Maven with auto-import
43-
# When using Gradle or Maven with auto-import, you should exclude module files,
44-
# since they will be recreated, and may cause churn. Uncomment if using
45-
# auto-import.
46-
# .idea/modules.xml
47-
# .idea/*.iml
48-
# .idea/modules
49-
50-
# CMake
51-
cmake-build-*/
52-
53-
# Mongo Explorer plugin
54-
.idea/**/mongoSettings.xml
55-
56-
# File-based project format
57-
*.iws
1+
# Created by https://www.toptal.com/developers/gitignore/api/android,gradle,java
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=android,gradle,java
3+
4+
### Android ###
5+
# Gradle files
6+
.gradle/
7+
build/
8+
9+
# Local configuration file (sdk path, etc)
10+
local.properties
11+
12+
# Log/OS Files
13+
*.log
14+
15+
# Android Studio generated files and folders
16+
captures/
17+
.externalNativeBuild/
18+
.cxx/
19+
*.apk
20+
output.json
5821

5922
# IntelliJ
60-
out/
23+
*.iml
24+
.idea/
25+
misc.xml
26+
deploymentTargetDropDown.xml
27+
render.experimental.xml
6128

62-
# mpeltonen/sbt-idea plugin
63-
.idea_modules/
29+
# Keystore files
30+
*.jks
31+
*.keystore
6432

65-
# JIRA plugin
66-
atlassian-ide-plugin.xml
33+
# Google Services (e.g. APIs or Firebase)
34+
google-services.json
6735

68-
# Cursive Clojure plugin
69-
.idea/replstate.xml
36+
# Android Profiling
37+
*.hprof
7038

71-
# Crashlytics plugin (for Android Studio and IntelliJ)
72-
com_crashlytics_export_strings.xml
73-
crashlytics.properties
74-
crashlytics-build.properties
75-
fabric.properties
39+
### Android Patch ###
40+
gen-external-apklibs
7641

77-
# Editor-based Rest Client
78-
.idea/httpRequests
42+
# Replacement of .externalNativeBuild directories introduced
43+
# with Android Studio 3.5.
7944

80-
# Android studio 3.1+ serialized cache file
81-
.idea/caches/build_file_checksums.ser
45+
### Java ###
46+
# Compiled class file
47+
*.class
8248

83-
# temporarily ignore IntelliJ bits
84-
*.eml
49+
# Log file
8550

86-
# testing boogers
87-
bin-test
51+
# BlueJ files
52+
*.ctxt
8853

89-
# dated folders
90-
/19*
91-
/20*
54+
# Mobile Tools for Java (J2ME)
55+
.mtj.tmp/
9256

93-
# VS Code Java project files
94-
.project
95-
.vscode/
57+
# Package Files #
58+
*.jar
59+
*.war
60+
*.nar
61+
*.ear
62+
*.zip
63+
*.tar.gz
64+
*.rar
9665

97-
# Processing examples
98-
processing-examples
66+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
67+
hs_err_pid*
68+
replay_pid*
9969

100-
# Maven ignores
70+
### Gradle ###
10171
.gradle
102-
/core/build/
103-
/build/publish/
104-
/app/build
105-
/app/lib
106-
/java/build/
107-
/build/reports
108-
/java/preprocessor/bin
109-
/java/preprocessor/build
110-
/java/lsp/build
111-
/.kotlin/sessions
112-
/core/examples/build
113-
/.build/
114-
115-
/app/bin
116-
/app/pde.jar
117-
/build/javadoc
118-
/core/bin
119-
/core/bin-test
120-
/core/library/gluegen-rt*.jar
121-
/core/library/jogl-all*.jar
122-
/core/core-sources.jar
123-
/core/different/build
124-
125-
/java/reference.zip
126-
/java/bin
127-
/java/bin-test
128-
/java/generated
129-
130-
/java/libraries/dxf/bin
131-
/java/libraries/io/bin
132-
/java/libraries/net/bin
133-
/java/libraries/pdf/bin
134-
/java/libraries/serial/bin
135-
/java/libraries/svg/bin
136-
/core/examples/bin
137-
/core/methods/bin
138-
/java/gradle/example/.processing
72+
**/build/
73+
!src/**/build/
74+
75+
# Ignore Gradle GUI config
76+
gradle-app.setting
77+
78+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
79+
!gradle-wrapper.jar
80+
81+
# Avoid ignore Gradle wrappper properties
82+
!gradle-wrapper.properties
83+
84+
# Cache of project
85+
.gradletasknamecache
86+
87+
# Eclipse Gradle plugin generated files
88+
# Eclipse Core
89+
.project
90+
# JDT-specific (Eclipse Java Development Tools)
91+
.classpath
92+
93+
### Gradle Patch ###
94+
# Java heap dump
95+
96+
# End of https://www.toptal.com/developers/gitignore/api/android,gradle,java
97+
.DS_Store
98+
bin/
99+
.build/
100+
.processing/
101+
library/
102+
generated/

.idea/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

build/linux/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

build/macos/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

build/macos/appbundler/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

build/shared/tools/MovieMaker/.gitignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

build/shared/tools/MovieMaker/tool/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

build/windows/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

core/library/.gitignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

core/methods/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)