1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 00:08:52 -05:00
gitattributes/Java.gitattributes

44 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

# Java sources
*.java text diff=java
2022-05-13 23:26:03 -04:00
*.kt text diff=kotlin
*.groovy text diff=java
*.scala text diff=java
*.gradle text diff=java
2022-05-13 23:26:03 -04:00
*.gradle.kts text diff=kotlin
# These files are text and should be normalized (Convert crlf => lf)
2019-03-08 20:57:21 -05:00
*.css text diff=css
*.scss text diff=css
*.sass text
*.df text
2019-03-08 20:57:21 -05:00
*.htm text diff=html
*.html text diff=html
*.js text
*.mjs text
*.cjs text
*.jsp text
*.jspf text
*.jspx text
*.properties text
*.tld text
*.tag text
*.tagx text
*.xml text
# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
2014-02-05 17:58:07 -05:00
*.class binary
*.dll binary
*.ear binary
2019-04-18 18:57:15 -04:00
*.jar binary
*.so binary
2014-02-05 17:58:07 -05:00
*.war binary
2020-05-04 09:46:40 -04:00
*.jks binary
# Common build-tool wrapper scripts ('.cmd' versions are handled by 'Common.gitattributes')
mvnw text eol=lf
2023-03-21 01:36:01 -04:00
gradlew text eol=lf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf