Skip to content

Commit 0791752

Browse files
committed
Initial migration to GTNH buildscript and RFG, also spotlessApply
1 parent cbbaae9 commit 0791752

File tree

265 files changed

+22947
-19704
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+22947
-19704
lines changed

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This is the universal Text Editor Configuration
2+
# for all GTNewHorizons projects
3+
# See: https://editorconfig.org/
4+
5+
root = true
6+
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
indent_size = 4
11+
indent_style = space
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
15+
[*.{bat,ini}]
16+
end_of_line = crlf
17+
18+
[*.{dtd,json,info,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}]
19+
indent_size = 2
20+
21+
[*.lang]
22+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 44 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,44 @@
1-
# Handle line endings automatically for files detected as text
2-
# and leave all files detected as binary untouched.
3-
* text=auto
4-
5-
#
6-
# The above will handle all files NOT found below
7-
#
8-
# These files are text and should be normalized (Convert crlf => lf)
9-
*.md text
10-
*.adoc text
11-
*.textile text
12-
*.mustache text
13-
*.csv text
14-
*.tab text
15-
*.tsv text
16-
*.css text
17-
*.df text
18-
*.htm text
19-
*.html text
20-
*.java text
21-
*.js text
22-
*.json text
23-
*.jsp text
24-
*.jspf text
25-
*.properties text
26-
*.sh text
27-
*.sql text
28-
*.svg text
29-
*.tld text
30-
*.txt text
31-
*.xml text
32-
*.sql text
33-
34-
# These files are binary and should be left untouched
35-
# (binary is a macro for -text -diff)
36-
*.class binary
37-
*.dll binary
38-
*.ear binary
39-
*.gif binary
40-
*.ico binary
41-
*.jar binary
42-
*.jpg binary
43-
*.jpeg binary
44-
*.png binary
45-
*.so binary
46-
*.war binary
1+
* text eol=lf
2+
3+
*.[jJ][aA][rR] binary
4+
5+
*.[pP][nN][gG] binary
6+
*.[jJ][pP][gG] binary
7+
*.[jJ][pP][eE][gG] binary
8+
*.[gG][iI][fF] binary
9+
*.[tT][iI][fF] binary
10+
*.[tT][iI][fF][fF] binary
11+
*.[iI][cC][oO] binary
12+
*.[sS][vV][gG] text
13+
*.[eE][pP][sS] binary
14+
*.[xX][cC][fF] binary
15+
16+
*.[kK][aA][rR] binary
17+
*.[mM]4[aA] binary
18+
*.[mM][iI][dD] binary
19+
*.[mM][iI][dD][iI] binary
20+
*.[mM][pP]3 binary
21+
*.[oO][gG][gG] binary
22+
*.[rR][aA] binary
23+
24+
*.7[zZ] binary
25+
*.[gG][zZ] binary
26+
*.[tT][aA][rR] binary
27+
*.[tT][gG][zZ] binary
28+
*.[zZ][iI][pP] binary
29+
30+
*.[tT][cC][nN] binary
31+
*.[sS][oO] binary
32+
*.[dD][lL][lL] binary
33+
*.[dD][yY][lL][iI][bB] binary
34+
*.[pP][sS][dD] binary
35+
*.[tT][tT][fF] binary
36+
*.[oO][tT][fF] binary
37+
38+
*.[pP][aA][tT][cC][hH] -text
39+
40+
*.[bB][aA][tT] text eol=crlf
41+
*.[cC][mM][dD] text eol=crlf
42+
*.[pP][sS]1 text eol=crlf
43+
44+
*[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
name: Build and test
3+
4+
on:
5+
pull_request:
6+
branches: [ master, main ]
7+
push:
8+
branches: [ master, main ]
9+
10+
jobs:
11+
build-and-test:
12+
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/build-and-test.yml@master
13+
secrets: inherit

.github/workflows/release-tags.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
name: Release tagged build
3+
4+
on:
5+
push:
6+
tags: [ '*' ]
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release-tags:
13+
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/release-tags.yml@master
14+
secrets: inherit

.gitignore

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
1-
/download
2-
/eclipseBin
3-
4-
## gradle
5-
/.gradle
6-
/build
7-
8-
## ForgeGradle
9-
/run
10-
11-
## eclipse
12-
/eclipse
13-
/.settings
14-
/.metadata
15-
/.classpath
16-
/.project
17-
/bin
18-
19-
## intellij
20-
/out
21-
/.idea
22-
/*.iml
23-
/*.ipr
24-
/*.iws
25-
/atlassian-ide-plugin.xml
26-
27-
## gedit
28-
*~
29-
30-
## editors
31-
*.bak
32-
33-
## translation reports
34-
resources/assets/enderioaddons/lang/*.lang.txt
35-
logs/latest.log
1+
.gradle
2+
.settings
3+
/.idea/
4+
/.vscode/
5+
/run/
6+
/build/
7+
/eclipse/
8+
.classpath
9+
.project
10+
/bin/
11+
/config/
12+
/crash-reports/
13+
/logs/
14+
options.txt
15+
/saves/
16+
usernamecache.json
17+
banned-ips.json
18+
banned-players.json
19+
eula.txt
20+
ops.json
21+
server.properties
22+
servers.dat
23+
usercache.json
24+
whitelist.json
25+
/out/
26+
*.iml
27+
*.ipr
28+
*.iws
29+
src/main/resources/mixins.*([!.]).json
30+
*.bat
31+
*.DS_Store
32+
!gradlew.bat
33+
.factorypath
34+
addon.local.gradle
35+
addon.local.gradle.kts
36+
addon.late.local.gradle
37+
addon.late.local.gradle.kts

.travis.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)