-
Notifications
You must be signed in to change notification settings - Fork 413
/
.gitattributes
54 lines (43 loc) · 1.91 KB
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# https://help.github.com/articles/dealing-with-line-endings/
# https://github.com/alexkaratarakis/gitattributes
* text=auto eol=lf
# The above will handle all files NOT found below
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text
.editorconfig text
.env text
# Documentation
*.md text diff=markdown
*.txt text
# JVM
*.java text diff=java
*.kt text diff=kotlin
*.kts text diff=kotlin
*.properties text
*.jar binary
# Linux start script should use lf
gradlew text eol=lf
*.bash text eol=lf
*.sh text eol=lf
# These are Windows script files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
# SVG treated as an asset (binary) by default.
*.svg text
# Exclude external libs from GitHub language stats https://github.com/github/linguist/blob/v8.0.0/docs/overrides.md
docs/** linguist-documentation
docs-developer/** linguist-documentation
examples/** linguist-documentation
dokka-integration-tests/gradle/projects/** linguist-documentation
# exclude test data
dokka-integration-tests/gradle/projects/**/expectedData/** linguist-generated
dokka-integration-tests/gradle/src/testExampleProjects/expectedData/** linguist-generated
dokka-runners/dokka-gradle-plugin/src/testFunctional/resources/KotlinDslAccessorsTest/** linguist-generated
# Tell Git not to export certain files or directories when generating an archive.
# Since an archive doesn't contain git data, also exclude git metadata files.
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore