Skip to content

Commit 86c859a

Browse files
committed
init more
1 parent 7d198f4 commit 86c859a

File tree

4,803 files changed

+579089
-0
lines changed

Some content is hidden

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

4,803 files changed

+579089
-0
lines changed

.editorconfig

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
ij_any_block_comment_add_space = false
10+
ij_any_block_comment_at_first_column = false
11+
ij_any_line_comment_at_first_column = false
12+
ij_any_line_comment_add_space = true
13+
14+
[*.tiny]
15+
indent_style = tab
16+
17+
[*.bat]
18+
end_of_line = crlf
19+
20+
[*.yml]
21+
indent_size = 2
22+
23+
[*.patch]
24+
trim_trailing_whitespace = false
25+
26+
[*.java]
27+
ij_continuation_indent_size = 4
28+
ij_java_class_count_to_use_import_on_demand = 999999
29+
ij_java_insert_inner_class_imports = false
30+
ij_java_names_count_to_use_import_on_demand = 999999
31+
ij_java_imports_layout = *, |, $*
32+
ij_java_generate_final_locals = true
33+
ij_java_generate_final_parameters = true
34+
ij_java_method_parameters_new_line_after_left_paren = true
35+
ij_java_method_parameters_right_paren_on_new_line = true
36+
ij_java_use_fq_class_names = false
37+
ij_java_class_names_in_javadoc = 1
38+
39+
[paper-server/src/minecraft/java/**/*.java]
40+
ij_java_use_fq_class_names = true
41+
42+
[paper-server/src/minecraft/resources/data/**/*.json]
43+
indent_size = 2
44+
45+
[paper-{server,api}/src/generated/java/**/*.java]
46+
ij_java_imports_layout = $*, |, *

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
* text=auto eol=lf
2+
3+
*.sh text eol=lf
4+
gradlew text eol=lf
5+
*.bat text eol=crlf
6+
7+
*.jar binary

.github/workflows/build.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# This workflow will build a Java project with Gradle
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+
name: Build
5+
6+
on : [push, pull_request]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- name: Cache
15+
uses: actions/cache@v4
16+
with:
17+
path: |
18+
~/.gradle/caches
19+
~/.gradle/wrapper
20+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
21+
restore-keys: |
22+
${{ runner.os }}-gradle-
23+
- uses: actions/checkout@v4
24+
- name: Set up JDK 21
25+
uses: actions/setup-java@v3
26+
with:
27+
java-version: '21'
28+
distribution: 'adopt'
29+
- name: Set version env
30+
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
31+
- name: Grant execute permission for gradlew
32+
run: chmod +x gradlew
33+
- name: Apply Patches
34+
run: ./gradlew applyPatches
35+
- name: Build Jar
36+
run: ./gradlew createPaprclipJar
37+
38+
- name: Upload Release
39+
uses: ncipollo/release-action@v1.12.0
40+
with:
41+
allowUpdates: true
42+
makeLatest: true
43+
removeArtifacts: true
44+
tag: "1.21.10-release"
45+
artifacts: ./build/libs/*.jar
46+
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
.gradle/
2+
build/
3+
4+
# Eclipse stuff
5+
.classpath
6+
.project
7+
.settings/
8+
9+
# VSCode stuff
10+
.vscode/
11+
12+
# netbeans
13+
nbproject/
14+
nbactions.xml
15+
16+
# vim
17+
.*.sw[a-p]
18+
19+
# various other potential build files
20+
bin/
21+
dist/
22+
manifest.mf
23+
24+
# Mac filesystem dust
25+
.DS_Store/
26+
.DS_Store
27+
28+
# intellij
29+
*.iml
30+
*.ipr
31+
*.iws
32+
.idea/
33+
out/
34+
35+
# JetBrains Fleet
36+
.fleet/
37+
38+
# Linux temp files
39+
*~
40+
41+
# other stuff
42+
run/
43+
logs/
44+
45+
!gradle/wrapper/gradle-wrapper.jar
46+
47+
test-plugin.settings.gradle.kts
48+
paper-generator.settings.gradle.kts
49+
50+
# Don't track patched vanilla submodules
51+
paper-server/src/minecraft/

0 commit comments

Comments
 (0)