-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed gitattributes to be a java template
Signed-off-by: Prabhas Kurapati <[email protected]>
- Loading branch information
Showing
1 changed file
with
38 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,38 @@ | ||
* text eol=lf | ||
*.bat binary | ||
*.zip binary | ||
*.exe binary | ||
*.epub binary | ||
*.pdf binary | ||
*.vsdx binary | ||
*.doc binary | ||
*.bcfks binary | ||
*.crt binary | ||
*.p12 binary | ||
*.txt text=auto | ||
# Java sources | ||
*.java text diff=java | ||
*.kt text diff=kotlin | ||
*.groovy text diff=java | ||
*.scala text diff=java | ||
*.gradle text diff=java | ||
*.gradle.kts text diff=kotlin | ||
|
||
# These files are text and should be normalized (Convert crlf => lf) | ||
*.css text diff=css | ||
*.scss text diff=css | ||
*.sass text | ||
*.df text | ||
*.htm text diff=html | ||
*.html text diff=html | ||
*.js 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) | ||
*.class binary | ||
*.dll binary | ||
*.ear binary | ||
*.jar binary | ||
*.so binary | ||
*.war binary | ||
*.jks binary | ||
|
||
# Common build-tool wrapper scripts ('.cmd' versions are handled by 'Common.gitattributes') | ||
mvnw text eol=lf | ||
gradlew text eol=lf |