Add .gitattributes and move .gitignore

This commit is contained in:
Felix
2024-11-13 17:09:05 +01:00
parent af4caad6be
commit 0e90041209
3 changed files with 93 additions and 60 deletions

59
.gitattributes vendored Normal file
View File

@@ -0,0 +1,59 @@
# Git configuration files
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
# Documentation
*.md text
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
INSTALL text
LICENSE text
NEWS text
TODO text
# 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
# Normalize text files (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
*.mjs text
*.cjs text
*.jsp text
*.jspf text
*.jspx text
*.properties text
*.tld text
*.tag text
*.tagx text
*.xml text
# Binary files
# (binary is a macro for -text -diff)
*.class binary
*.dll binary
*.ear binary
*.jar binary
*.so binary
*.war binary
*.jks binary
# Build tool wrappers
mvnw text eol=lf
gradlew text eol=lf

51
.gitignore vendored
View File

@@ -1,26 +1,43 @@
# Gradle
.gradle
build
build/
#!gradle/wrapper/gradle-wrapper.jar
#!**/src/main/**/build/
#!**/src/test/**/build/
# VSC
bin
# IntelliJ
*.iml
### IntelliJ IDEA ###
.idea
out
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
out/
#!**/src/main/**/out/
#!**/src/test/**/out/
# Eclipse
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
#!**/src/main/**/bin/
#!**/src/test/**/bin/
# Libraries
*.so
*.dylib
*.dll
*.jar
*.class
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store
!Projekte/gradle/wrapper/gradle-wrapper.jar

43
Projekte/.gitignore vendored
View File

@@ -1,43 +0,0 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
### IntelliJ IDEA ###
.idea
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store