Skip to content

Commit a6e02e3

Browse files
committed
Merge branch 'release/5.7.0'
2 parents e1ee109 + 5630a16 commit a6e02e3

605 files changed

Lines changed: 6326 additions & 2979 deletions

File tree

Some content is hidden

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

.github/workflows/push.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,10 @@ jobs:
3333

3434
- name: Create artifacts
3535
run: |
36-
mkdir -p artifacts/modules
37-
cd LaunchServer/build/libs
38-
mv proguard proguard-libraries
39-
zip -r -9 ../../../artifacts/libraries.zip * -x "LaunchServer.jar" -x "LaunchServer-clean.jar"
40-
cp LaunchServer.jar ../../../artifacts/LaunchServer.jar
41-
cd ../../..
42-
cp ServerWrapper/build/libs/ServerWrapper.jar artifacts/ServerWrapper.jar
43-
cp ServerWrapper/build/libs/ServerWrapper-inline.jar artifacts/ServerWrapperInline.jar
44-
cp LauncherAuthlib/build/libs/LauncherAuthlib.jar artifacts/LauncherAuthlib.jar || true
45-
cp modules/*_module/build/libs/*.jar artifacts/modules || true
46-
cp modules/*_lmodule/build/libs/*.jar artifacts/modules || true
47-
cp javaargs.txt artifacts/javaargs.txt || true
48-
cp java24args.txt artifacts/java24args.txt || true
36+
mkdir -p artifacts
37+
cp components/launchserver/build/distributions/launchserver*.zip artifacts/LaunchServerBuild.zip
38+
cp components/serverwrapper/build/libs/serverwrapper*-all.jar artifacts/ServerWrapper.jar
39+
cp components/serverwrapper/build/libs/serverwrapper*-inline.jar artifacts/ServerWrapperInline.jar
4940
5041
- name: Upload artifacts
5142
uses: actions/upload-artifact@v4
@@ -61,11 +52,6 @@ jobs:
6152
if: startsWith(github.event.ref, 'refs/tags')
6253
run: |
6354
cd artifacts
64-
zip -r -9 Release.zip *
65-
zip -j -9 LaunchServerModules.zip ../modules/*_module/build/libs/*.jar
66-
zip -j -9 LauncherModules.zip ../modules/*_lmodule/build/libs/*.jar
67-
cd ../LaunchServer/build/libs
68-
zip -r -9 ../../../artifacts/LauncherBase.zip * -x "LaunchServer-clean.jar"
6955
7056
- name: Create release
7157
id: create_release

Dockerfile

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
FROM ubuntu:latest
2-
RUN apt-get update && apt-get install -y osslsigncode openjdk-11-jdk unzip jq screen
3-
ADD https://download2.gluonhq.com/openjfx/11.0.2/openjfx-11.0.2_linux-x64_bin-jmods.zip .
4-
RUN unzip openjfx-11.0.2_linux-x64_bin-jmods.zip && mv javafx-jmods-11.0.2/* /usr/lib/jvm/java-11-openjdk-amd64/jmods/ && rmdir javafx-jmods-11.0.2 && rm openjfx-11.0.2_linux-x64_bin-jmods.zip
5-
RUN mkdir ./libraries ./launcher-libraries ./launcher-libraries-compile ./compat ./compat/modules
6-
COPY ./LaunchServer/build/libs/LaunchServer.jar .
7-
COPY ./LaunchServer/build/libs/libraries ./libraries
8-
COPY ./LaunchServer/build/libs/launcher-libraries ./launcher-libraries
9-
COPY ./LaunchServer/build/libs/launcher-libraries-compile ./launcher-libraries-compile
10-
COPY ./compat/authlib/authlib-clean.jar ./LauncherAuthlib/build/libs/* ./ServerWrapper/build/libs/ServerWrapper.jar ./compat/
11-
COPY ./modules/*_module/build/libs/* ./modules/*_lmodule/build/libs/* ./compat/modules/
12-
CMD screen -DmS launchserver java -javaagent:LaunchServer.jar -jar LaunchServer.jar
1+
FROM azul/zulu-openjdk-debian:24-latest AS build
2+
WORKDIR /app
3+
COPY . /app
4+
RUN chmod +x && ./gradlew build --no-daemon
5+
FROM azul/zulu-openjdk-debian:24-latest AS prod
6+
WORKDIR /app/data
7+
ENV APP_HOME=/app
8+
ENV LISTEN_PORT=9274
9+
EXPOSE 9274
10+
COPY --from=build /app/components/launchserver/build/install/launchserver/* /app
11+
ENTRYPOINT ["/app/bin/launchserver"]

LaunchServer/build.gradle

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

LaunchServer/src/main/java/pro/gravit/launchserver/auth/profiles/LocalProfileProvider.java

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

0 commit comments

Comments
 (0)