Skip to content

Commit 242094b

Browse files
committed
Split backend off of Heirloom again
1 parent f655be4 commit 242094b

Some content is hidden

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

50 files changed

+2084
-616
lines changed

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "maven" # See documentation for possible values
8+
- package-ecosystem: "gradle" # See documentation for possible values
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "daily"

.github/workflows/build.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,27 @@ on: [push]
88

99
jobs:
1010
build:
11-
strategy:
12-
matrix:
13-
# Use these Java versions
14-
java: [
15-
17, # Current Java LTS & minimum supported by Minecraft
16-
]
1711

1812
runs-on: ubuntu-latest
13+
1914
steps:
20-
- name: checkout repository
21-
uses: actions/checkout@v3
22-
- name: setup jdk ${{ matrix.java }}
23-
uses: actions/setup-java@v3
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-java@v4
2417
with:
25-
java-version: ${{ matrix.java }}
26-
distribution: 'temurin'
18+
distribution: 'temurin' # See 'Supported distributions' for available options
19+
java-version: '21'
20+
21+
- name: validate gradle wrapper
22+
uses: gradle/wrapper-validation-action@v2
23+
24+
- name: make gradle wrapper executable
25+
run: chmod +x ./gradlew
26+
2727
- name: build
28-
run: mvn package
28+
run: ./gradlew build
29+
2930
- name: capture build artifacts
30-
uses: actions/upload-artifact@v3
31+
uses: actions/upload-artifact@v4
3132
with:
3233
name: Artifacts
33-
path: target/dist/
34+
path: build/libs/

.gitignore

Lines changed: 50 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
# Created by https://www.toptal.com/developers/gitignore/api/java,intellij,gradle,maven,windows
2-
# Edit at https://www.toptal.com/developers/gitignore?templates=java,intellij,gradle,maven,windows
1+
# Created by https://www.toptal.com/developers/gitignore/api/java,gradle,windows,intellij,forgegradle
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=java,gradle,windows,intellij,forgegradle
3+
4+
### ForgeGradle ###
5+
# Minecraft client/server files
6+
run/
37

48
### Intellij ###
59
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
@@ -140,25 +144,6 @@ fabric.properties
140144
hs_err_pid*
141145
replay_pid*
142146

143-
### Maven ###
144-
target/
145-
pom.xml.tag
146-
pom.xml.releaseBackup
147-
pom.xml.versionsBackup
148-
pom.xml.next
149-
release.properties
150-
dependency-reduced-pom.xml
151-
buildNumber.properties
152-
.mvn/timing.properties
153-
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
154-
.mvn/wrapper/maven-wrapper.jar
155-
156-
# Eclipse m2e generated files
157-
# Eclipse Core
158-
.project
159-
# JDT-specific (Eclipse Java Development Tools)
160-
.classpath
161-
162147
### Windows ###
163148
# Windows thumbnail cache files
164149
Thumbs.db
@@ -204,11 +189,53 @@ gradle-app.setting
204189

205190
# Eclipse Gradle plugin generated files
206191
# Eclipse Core
192+
.project
207193
# JDT-specific (Eclipse Java Development Tools)
194+
.classpath
208195

209196
### Gradle Patch ###
210197
# Java heap dump
211198
*.hprof
212199

213-
# End of https://www.toptal.com/developers/gitignore/api/java,intellij,gradle,maven,windows
214-
/.idea/
200+
# End of https://www.toptal.com/developers/gitignore/api/java,gradle,windows,intellij,forgegradle
201+
202+
# gradle
203+
204+
.gradle/
205+
build/
206+
out/
207+
classes/
208+
209+
# eclipse
210+
211+
*.launch
212+
213+
# idea
214+
215+
.idea/
216+
*.iml
217+
*.ipr
218+
*.iws
219+
220+
# vscode
221+
222+
.settings/
223+
.vscode/
224+
bin/
225+
.classpath
226+
.project
227+
228+
# macos
229+
230+
*.DS_Store
231+
232+
# fabric
233+
234+
run/
235+
236+
# java
237+
238+
hs_err_*.log
239+
replay_*.log
240+
*.hprof
241+
*.jfr

LICENSE

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# PolyForm Perimeter License 1.0.0
2+
3+
<https://polyformproject.org/licenses/perimeter/1.0.0>
4+
5+
## Acceptance
6+
7+
In order to get any license under these terms, you must agree
8+
to them as both strict obligations and conditions to all
9+
your licenses.
10+
11+
## Copyright License
12+
13+
The licensor grants you a copyright license for the
14+
software to do everything you might do with the software
15+
that would otherwise infringe the licensor's copyright
16+
in it for any permitted purpose. However, you may
17+
only distribute the software according to [Distribution
18+
License](#distribution-license) and make changes or new works
19+
based on the software according to [Changes and New Works
20+
License](#changes-and-new-works-license).
21+
22+
## Distribution License
23+
24+
The licensor grants you an additional copyright license
25+
to distribute copies of the software. Your license
26+
to distribute covers distributing the software with
27+
changes and new works permitted by [Changes and New Works
28+
License](#changes-and-new-works-license).
29+
30+
## Notices
31+
32+
You must ensure that anyone who gets a copy of any part of
33+
the software from you also gets a copy of these terms or the
34+
URL for them above, as well as copies of any plain-text lines
35+
beginning with `Required Notice:` that the licensor provided
36+
with the software. For example:
37+
38+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
39+
40+
## Changes and New Works License
41+
42+
The licensor grants you an additional copyright license to
43+
make changes and new works based on the software for any
44+
permitted purpose.
45+
46+
## Patent License
47+
48+
The licensor grants you a patent license for the software that
49+
covers patent claims the licensor can license, or becomes able
50+
to license, that you would infringe by using the software.
51+
52+
## Noncompete
53+
54+
Any purpose is a permitted purpose, except for providing to
55+
others any product that competes with the software.
56+
57+
## Competition
58+
59+
If you use this software to market a product as a substitute
60+
for the functionality or value of the software, it competes
61+
with the software. A product may compete regardless how it is
62+
designed or deployed. For example, a product may compete even
63+
if it provides its functionality via any kind of interface
64+
(including services, libraries or plug-ins), even if it is
65+
ported to a different platforms or programming languages,
66+
and even if it is provided free of charge.
67+
68+
## Fair Use
69+
70+
You may have "fair use" rights for the software under the
71+
law. These terms do not limit them.
72+
73+
## No Other Rights
74+
75+
These terms do not allow you to sublicense or transfer any of
76+
your licenses to anyone else, or prevent the licensor from
77+
granting licenses to anyone else. These terms do not imply
78+
any other licenses.
79+
80+
## Patent Defense
81+
82+
If you make any written claim that the software infringes or
83+
contributes to infringement of any patent, your patent license
84+
for the software granted under these terms ends immediately. If
85+
your company makes such a claim, your patent license ends
86+
immediately for work on behalf of your company.
87+
88+
## Violations
89+
90+
The first time you are notified in writing that you have
91+
violated any of these terms, or done anything with the software
92+
not covered by your licenses, your licenses can nonetheless
93+
continue if you come into full compliance with these terms,
94+
and take practical steps to correct past violations, within
95+
32 days of receiving notice. Otherwise, all your licenses
96+
end immediately.
97+
98+
## No Liability
99+
100+
***As far as the law allows, the software comes as is, without
101+
any warranty or condition, and the licensor will not be liable
102+
to you for any damages arising out of these terms or the use
103+
or nature of the software, under any kind of legal claim.***
104+
105+
## Definitions
106+
107+
The **licensor** is the individual or entity offering these
108+
terms, and the **software** is the software the licensor makes
109+
available under these terms.
110+
111+
A **product** can be a good or service, or a combination
112+
of them.
113+
114+
**You** refers to the individual or entity agreeing to these
115+
terms.
116+
117+
**Your company** is any legal entity, sole proprietorship,
118+
or other kind of organization that you work for, plus all
119+
organizations that have control over, are under the control of,
120+
or are under common control with that organization. **Control**
121+
means ownership of substantially all the assets of an entity,
122+
or the power to direct its management and policies by vote,
123+
contract, or otherwise. Control can be direct or indirect.
124+
125+
**Your licenses** are all the licenses granted to you for the
126+
software under these terms.
127+
128+
**Use** means anything you do with the software requiring one
129+
of your licenses.

0 commit comments

Comments
 (0)