Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
681 changes: 681 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

131 changes: 131 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
# Auto detect text files and perform LF normalization
* text=auto

# Text files where line endings should be preserved
*.patch -text

# Enable syntax highlighting for files with `.gitattributes` extensions.
*.gitattributes linguist-language=gitattributes
*.gitattributes linguist-detectable=true
*.gitattributes linguist-documentation=false

# Exclude files from exporting
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore

# Documents
*.md text diff=markdown linguist-detectable
*.mdx text diff=markdown
*.markdown text diff=markdown
*.mdtxt text
*.mdtext text
*.txt text
*.adoc text
*.csv text eol=crlf
*.tab text
*.tsv text

# Documentation
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
*COPYRIGHT* text
INSTALL text
LICENSE text
NEWS text
*README* text
TODO text

# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.svg binary
*.eps binary

# Scripts
*.bash text eol=lf
*.fish text eol=lf
*.ksh text eol=lf
*.sh text eol=lf
*.zsh text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf

# Serialisation
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text

# Archives
*.7z binary
*.gz binary
*.rar binary
*.tar binary
*.xz binary
*.zip binary

# Binary files
*.exe binary
*.dll binary
*.so binary
*.jar binary
*.class binary
*.ear binary
*.war binary
*.jks binary

# Text files normalization (Convert CRLF => LF)
*.gitattributes text
.gitignore text
*.css text diff=css
*.scss text diff=css
*.htm text diff=html
*.html text diff=html
*.js text
*.properties text

# Configs
*.cnf text
*.conf text
*.config text
*.cfg text eol=lf
.editorconfig text
.env text
.gitattributes text
.gitconfig text
*.lock text -diff
makefile text

# Audio
*.ogg binary

# Java sources
*.java text diff=java
*.kt text diff=kotlin
*.kts text diff=kotlin
*.groovy text diff=java
*.scala text diff=java

# Gradle
*.gradle text diff=java
*.gradle.kts text diff=kotlin
gradlew text eol=lf

# Minecraft modding
*.mixins.json text
*.accesswidener text
*.mcmeta text

# Disable autocrlf on generated files, they always generate with LF
# Add any extra files or paths here to make git stop saying they
# are changed when only line endings change.
src/generated/**/.cache/cache text eol=lf
src/generated/**/*.json text eol=lf
167 changes: 99 additions & 68 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,109 @@
# User-specific stuff
.idea/

# ============================
# IDE specific files
# ============================

# Eclipse
bin/
*.launch
.settings/
.metadata/
.classpath
.project
eclipse

# IntelliJ IDEA
.idea
!.idea/scopes
*.iml
*.ipr
*.iws

# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml
# ============================
# Build system & Gradle
# ============================

# Compiled class file
*.class
# Gradle directories and files
.gradle/
build/
**/build/
!src/**/build/
local.properties
# Avoid ignore Gradle wrapper files
!gradle-wrapper.jar
!gradle-wrapper.properties
# Ignore Gradle GUI config
gradle-app.setting
# Cache of project
.gradletasknamecache

# ============================
# Minecraft mod development
# ============================

# Minecraft client/server directories generated by the modloader
run/
runs/

# Log file
# Minecraft crash reports and logs
crash-reports/
logs/
*.log

# BlueJ files
*.ctxt
# ============================
# System files
# ============================

# macOS
.DS_Store
.AppleDouble
.LSOverride

# Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# ============================
# Additional common ignores
# ============================

# JVM crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# Compiled Java classes
*.class

# Package Files #
# Package files
*.jar
*.war
*.nar
Expand All @@ -31,28 +112,20 @@ atlassian-ide-plugin.xml
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
# JIRA plugin
atlassian-ide-plugin.xml

# BlueJ files
*.ctxt

*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

Expand All @@ -74,45 +147,3 @@ Icon
Network Trash Folder
Temporary Items
.apdisk

# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

.gradle
build/

# Ignore Gradle GUI config
gradle-app.setting

# Cache of project
.gradletasknamecache

**/build/

# Common working directory
run/

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
8 changes: 8 additions & 0 deletions build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
plugins {
`kotlin-dsl`
}

repositories {
mavenCentral()
gradlePluginPortal()
}
12 changes: 12 additions & 0 deletions build-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
pluginManagement {
repositories {
gradlePluginPortal()
}
}

plugins {
// https://github.com/radoslaw-panuszewski/typesafe-conventions-gradle-plugin
id("dev.panuszewski.typesafe-conventions") version "0.7.3"
}

rootProject.name = "build-logic"
Loading