From dd34bd8bbd88f7d4efe9c916064d3e9b77c0cd00 Mon Sep 17 00:00:00 2001 From: Griefed Date: Mon, 16 Feb 2026 22:00:45 +0100 Subject: [PATCH 01/34] ci: create AppImage for devbuild Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 258 +++++++++- .gitignore | 3 + .runConfigurations/Build All.run.xml | 2 +- misc/build-appimage.sh | 481 ++++++++++++++++++ misc/create-appimage.sh | 146 ------ .../api/serverpack/ServerPackHandler.kt | 1 + 6 files changed, 717 insertions(+), 174 deletions(-) create mode 100755 misc/build-appimage.sh delete mode 100644 misc/create-appimage.sh diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index f1427744d..75f065181 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -4,14 +4,168 @@ on: push: branches: - develop + workflow_dispatch: + inputs: + version: + description: 'Version to build (optional, defaults to branch/tag)' + required: false + type: string jobs: - continuous: - name: "Continuous Pre-Release" + build-jar: + name: Build JAR runs-on: ubuntu-latest + + outputs: + version: ${{ steps.version.outputs.version }} + steps: + - name: Checkout code + uses: actions/checkout@v6 + with: + fetch-depth: 0 - - name: Checkout latest code + - name: Set up JDK 21 + uses: actions/setup-java@v5 + with: + distribution: 'zulu' + java-version: '21' + check-latest: true + cache: 'gradle' + + - name: Determine version + id: version + run: | + if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ -n "${{ inputs.version }}" ]; then + VERSION="${{ inputs.version }}" + elif [[ "${{ github.ref }}" == refs/tags/v* ]]; then + VERSION="${GITHUB_REF#refs/tags/v}" + elif [ "${{ github.ref_name }}" = "main" ]; then + VERSION="$(git describe --tags --always)" + else + VERSION="${{ github.ref_name }}-$(git rev-parse --short HEAD)" + fi + echo "version=${VERSION}" >> $GITHUB_OUTPUT + echo "Building version: ${VERSION}" + + - name: Set Permissions + run: chmod +x gradlew + + - name: Build with Gradle + run: | + ./gradlew clean build -Pversion=${{ steps.version.outputs.version }} \ + --info --full-stacktrace --warning-mode all \ + -x :serverpackcreator-api:test -x :serverpackcreator-app:test + + - name: Upload JARs + uses: actions/upload-artifact@v4 + with: + name: gradle-jars + path: | + serverpackcreator-api/build/libs/*.jar + serverpackcreator-app/build/libs/*.jar + serverpackcreator-plugin-example/build/libs/*.jar + retention-days: 1 + + build-appimage: + name: Build AppImage (${{ matrix.arch }}) + needs: build-jar + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + arch: + - x86_64 + - aarch64 + + steps: + - name: Checkout code + uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Set up QEMU (für ARM64) + if: matrix.arch == 'aarch64' + uses: docker/setup-qemu-action@v3 + with: + platforms: linux/arm64 + + - name: Set up Docker Buildx (für ARM64) + if: matrix.arch == 'aarch64' + uses: docker/setup-buildx-action@v3 + + - name: Cache JDK download + uses: actions/cache@v4 + with: + path: jdk-21-${{ matrix.arch }} + key: jdk-21-${{ matrix.arch }} + + - name: Download JARs + uses: actions/download-artifact@v4 + with: + name: gradle-jars + path: . + + - name: Make build script executable + run: chmod +x misc/build-appimage.sh + + - name: Build AppImage (x86_64 - native) + if: matrix.arch == 'x86_64' + run: misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} + + - name: Build AppImage (aarch64 - QEMU via Docker) + if: matrix.arch == 'aarch64' + run: | + docker run --rm --platform linux/arm64 \ + -v "$(pwd):/workspace" \ + -w /workspace \ + ubuntu:22.04 \ + bash -c " + apt-get update && \ + apt-get install -y wget curl file tar gzip \ + libfuse2 libglib2.0-0 libcairo2 libpango-1.0-0 \ + libgdk-pixbuf2.0-0 desktop-file-utils && \ + cd /workspace && \ + misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} + " + + - name: Verify AppImage + run: | + APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" + if [ ! -f "$APPIMAGE" ]; then + echo "Error: AppImage not found: $APPIMAGE" + exit 1 + fi + ls -lh "$APPIMAGE" + + - name: Upload AppImage artifact + uses: actions/upload-artifact@v4 + with: + name: appimage-${{ matrix.arch }} + path: ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage + if-no-files-found: error + retention-days: 1 + + - name: Generate checksums + run: | + APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" + sha256sum "$APPIMAGE" > "$APPIMAGE.sha256" + + - name: Upload checksums + uses: actions/upload-artifact@v4 + with: + name: appimage-${{ matrix.arch }}-checksum + path: "*.sha256" + retention-days: 1 + + build-media: + name: Build Install4J Media + needs: build-jar + runs-on: ubuntu-latest + + steps: + - name: Checkout code uses: actions/checkout@v6 with: fetch-depth: 0 @@ -34,28 +188,63 @@ jobs: license: ${{ secrets.INSTALL4J_LICENSE }} - name: Remove install4j script - run: | - rm install4j_linux-x64_*.sh + run: rm install4j_linux-x64_*.sh + + - name: Download JARs + uses: actions/download-artifact@v4 + with: + name: gradle-jars + path: . - name: Set Permissions - run: | - chmod +x gradlew + run: chmod +x gradlew - - name: Build with Gradle - run: | - ./gradlew build --info --full-stacktrace - ./gradlew media --info --full-stacktrace + - name: Build Install4J Media + run: ./gradlew media --info --full-stacktrace + + - name: Upload Media + uses: actions/upload-artifact@v4 + with: + name: install4j-media + path: media/* + retention-days: 1 + + continuous: + name: "Continuous Pre-Release" + needs: [build-jar, build-appimage, build-media] + runs-on: ubuntu-latest + + steps: + - name: Checkout latest code + uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Download all artifacts + uses: actions/download-artifact@v4 + with: + path: artifacts - name: Collect files run: | mkdir continuous - cp serverpackcreator-api/build/libs/*.jar continuous/ - cp serverpackcreator-app/build/libs/*.jar continuous/ - cp serverpackcreator-plugin-example/build/libs/*.jar continuous/ - cp media/*.dmg continuous/ - cp media/*.sh continuous/ - cp media/*.exe continuous/ - rm -f continuous/output.txt continuous/*plain.jar + + # AppImages + find artifacts/appimage-x86_64 -name "*.AppImage" -exec cp {} continuous/ \; + find artifacts/appimage-aarch64 -name "*.AppImage" -exec cp {} continuous/ \; + + # Checksums + find artifacts -name "*.sha256" -exec cp {} continuous/ \; + + # JARs + find artifacts/gradle-jars -name "*.jar" ! -name "*-plain.jar" -exec cp {} continuous/ \; + + # Install4J Media + cp artifacts/install4j-media/*.dmg continuous/ 2>/dev/null || true + cp artifacts/install4j-media/*.sh continuous/ 2>/dev/null || true + cp artifacts/install4j-media/*.exe continuous/ 2>/dev/null || true + + ls -lh continuous/ - name: Generate checksum uses: jmgilman/actions-generate-checksum@v1 @@ -64,21 +253,37 @@ jobs: continuous/* - name: Collect checksum - run: | - cp checksum.txt continuous/ + run: cp checksum.txt continuous/ - - name: Update develop + - name: Update develop tag uses: richardsimko/update-tag@v1 with: tag_name: continuous env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: ncipollo/release-action@v1 + - name: Get build timestamp + id: build_time + run: echo "timestamp=$(date -u '+%Y-%m-%d %H:%M:%S UTC')" >> $GITHUB_OUTPUT + + - name: Create/Update Release + uses: ncipollo/release-action@v1 with: allowUpdates: 'true' artifacts: "continuous/*" - body: "Continuous dev-build release.
Updated every time changes are pushed to develop.
Do not use unless you have been told to, or are curious about the contents of the dev build.
Do not link to this release." + body: | + ## 🔄 Continuous Dev-Build + + **Built:** ${{ steps.timestamp.outputs.date }} at ${{ steps.timestamp.outputs.time }} + **Commit:** `${{ github.sha }}` + + --- + + This is an automated development build, updated every time changes are pushed to `develop`. + + ⚠️ **Warning:** Do not use unless you have been told to, or are curious about the contents of the dev build. + + 🚫 **Do not link to this release.** commit: "develop" name: "continuous" prerelease: 'true' @@ -91,8 +296,7 @@ jobs: wget -O continuous/source.zip https://github.com/Griefed/ServerPackCreator/archive/refs/tags/continuous.zip wget -O continuous/source.tar.gz https://github.com/Griefed/ServerPackCreator/archive/refs/tags/continuous.tar.gz - - name: Cleanup continuous - id: action-ssh + - name: Cleanup continuous on server uses: tiyee/action-ssh@v1.0.1 with: host: ${{ secrets.SPCUPLOAD_HOST }} @@ -100,11 +304,11 @@ jobs: privateKey: ${{ secrets.SPCUPLOAD_KEY }} command: 'rm -rf ~/spc/continuous' - - name: Copy folder content recursively to remote + - name: Upload to server uses: nogsantos/scp-deploy@master with: src: ./continuous host: ${{ secrets.SPCUPLOAD_HOST }} remote: "${{ secrets.SPCUPLOAD_TARGET }}" user: ${{ secrets.SPCUPLOAD_USERNAME }} - key: ${{ secrets.SPCUPLOAD_KEY }} + key: ${{ secrets.SPCUPLOAD_KEY }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index f201f17a3..d76a8435e 100644 --- a/.gitignore +++ b/.gitignore @@ -434,4 +434,7 @@ serverpackcreator-help/Writerside/topics/SECURITY.md # ServerPackCreator media appimage +jdk-21-* +ServerPackCreator-*.AppImage +appimagetool /serverpackcreator-web-frontend/.frontend-gradle-plugin/ diff --git a/.runConfigurations/Build All.run.xml b/.runConfigurations/Build All.run.xml index cd25b8334..a39b935f2 100644 --- a/.runConfigurations/Build All.run.xml +++ b/.runConfigurations/Build All.run.xml @@ -4,7 +4,7 @@ diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh new file mode 100755 index 000000000..d37fe7a93 --- /dev/null +++ b/misc/build-appimage.sh @@ -0,0 +1,481 @@ +#!/bin/bash + +# Build-Script for Java 21 apps as AppImages +# Builds a gradle-based application into an AppImage and includes a Java 21 JDK in it +# Proof of concept script written using Claude Sonnet 4.5 and classic manual writing. + +set -e + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +cd "$(dirname "$SCRIPT_DIR")" +PROJECT_ROOT="$(pwd)" + +RED='\033[0;31m' +GREEN='\033[0;32m' +YELLOW='\033[1;33m' +NC='\033[0m' # No Color + +echo -e "${GREEN}Script-Dir: $SCRIPT_DIR" +echo -e "${GREEN}Project-Root: $PROJECT_ROOT" +echo "" + +if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then + echo "Usage: $0 [VERSION]" + echo "" + echo "Builds an AppImage for the native architecture of the build-system." + echo "Supports: x86_64, aarch64 (ARM64)" + echo "" + echo "Examples:" + echo " $0 # Builds with version 'dev'" + echo " $0 1.0.0 # Builds with version '1.0.0'" + echo " $0 2.1.3 # Builds with version '2.1.3'" + echo "" + exit 0 +fi + +OS="$(uname -s)" +case "${OS}" in + Linux*) MACHINE=Linux;; + Darwin*) MACHINE=Mac;; + *) MACHINE="UNKNOWN:${OS}" +esac + +ARCH="$(uname -m)" +case "${ARCH}" in + x86_64) BUILD_ARCH=x86_64;; + aarch64) BUILD_ARCH=aarch64;; # Linux ARM64 + arm64) BUILD_ARCH=aarch64;; # macOS ARM64 + *) + echo -e "${RED}Unknown architecture: ${ARCH}${NC}" + exit 1 + ;; +esac + +echo -e "${GREEN}Detected OS: $MACHINE${NC}" +echo -e "${GREEN}Detected arch: $BUILD_ARCH${NC}" + +APP_NAME="ServerPackCreator" +APP_VERSION="${1:-dev}" +APP_DIR="${APP_NAME}.AppDir" +APP_COMMENT="Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks." +APP_CATEGORIES="Utility;FileTools;Java;" +APP_ARGS="-Dfile.encoding=UTF-8 -Dlog4j2.formatMsgNoLookups=true -DServerPackCreator -Dname=ServerPackCreator -Dspring.application.name=ServerPackCreator -Dcom.apple.mrj.application.apple.menu.about.name=ServerPackCreator" +APP_MAIN_CLASS="org.springframework.boot.loader.launch.JarLauncher" +GRADLE_TASK="build" +GRADLE_ARGS="--info --full-stacktrace --warning-mode all -x :serverpackcreator-api:test -x :serverpackcreator-app:test" +BUILD_DIR="serverpackcreator-app/build/libs" +JDK_VERSION="21" + +if [ "$BUILD_ARCH" = "x86_64" ]; then + JDK_URL="https://api.adoptium.net/v3/binary/latest/21/ga/linux/x64/jdk/hotspot/normal/eclipse" + JDK_DIR="jdk-${JDK_VERSION}-${BUILD_ARCH}" + APPIMAGE_ARCH=${BUILD_ARCH} +elif [ "$BUILD_ARCH" = "aarch64" ]; then + JDK_URL="https://api.adoptium.net/v3/binary/latest/21/ga/linux/aarch64/jdk/hotspot/normal/eclipse" + JDK_DIR="jdk-${JDK_VERSION}-${BUILD_ARCH}" + APPIMAGE_ARCH=${BUILD_ARCH} +fi + +cleanup() { + echo -e "${YELLOW}Cleaning up temporary files...${NC}" + rm -rf "$APP_DIR" + rm -f Dockerfile.appimage "${APP_DIR}.tar.gz" + echo -e "${GREEN}Cleanup done.${NC}" +} + +trap cleanup EXIT + +echo -e "${GREEN}Build-Version: ${APP_VERSION}${NC}" +echo "" +echo -e "${GREEN}=== Build-Process started ===${NC}" + +echo -e "${YELLOW}Checking Dependencies...${NC}" + +if [ ! -f "./gradlew" ]; then + echo -e "${RED}Gradle-Wrapper (gradlew) not found!${NC}" + echo -e "${YELLOW}Ensure it's present in the root-dir of the project.${NC}" + exit 1 +fi + +chmod +x ./gradlew + +if [ "$MACHINE" = "Linux" ]; then + if ! command -v appimagetool &> /dev/null; then + echo -e "${YELLOW}appimagetool not found. Downloading...${NC}" + + if [ "$BUILD_ARCH" = "x86_64" ]; then + APPIMAGETOOL_URL="https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" + elif [ "$BUILD_ARCH" = "aarch64" ]; then + APPIMAGETOOL_URL="https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-aarch64.AppImage" + fi + + if command -v wget &> /dev/null; then + wget -O appimagetool "$APPIMAGETOOL_URL" + elif command -v curl &> /dev/null; then + curl -L -o appimagetool "$APPIMAGETOOL_URL" + else + echo -e "${RED}Neither wget nor curl was found. Please supply either one.${NC}" + exit 1 + fi + + chmod +x appimagetool + APPIMAGETOOL="./appimagetool" + else + APPIMAGETOOL="appimagetool" + fi +elif [ "$MACHINE" = "Mac" ]; then + if ! command -v docker &> /dev/null; then + echo -e "${RED}Docker not found!${NC}" + echo -e "${YELLOW}Docker is needed on MacOS in order to build the AppImage.${NC}" + exit 1 + fi + echo -e "${GREEN}Docker found - Will be used for AppImage-build.${NC}" + + if [ "$BUILD_ARCH" = "aarch64" ]; then + echo -e "${YELLOW}Building for aarch64(arm64).${NC}" + fi +fi + +echo -e "${YELLOW}Checking Java 21 JDK...${NC}" +if [ ! -d "$JDK_DIR" ]; then + echo -e "${YELLOW}Downloading Java 21 JDK...${NC}" + + if command -v wget &> /dev/null; then + wget -O jdk.tar.gz "$JDK_URL" + elif command -v curl &> /dev/null; then + curl -L -o jdk.tar.gz "$JDK_URL" + else + echo -e "${RED}Neither wget nor curl was found. Please supply either one.${NC}" + exit 1 + fi + + echo -e "${YELLOW}Extracting JDK...${NC}" + mkdir -p "$JDK_DIR" + tar -xzf jdk.tar.gz -C "$JDK_DIR" --strip-components=1 + rm jdk.tar.gz + echo -e "${GREEN}JDK downloaded and extracted.${NC}" +else + echo -e "${GREEN}JDK already present.${NC}" +fi + +echo -e "${YELLOW}Checking if JAR already exists...${NC}" +EXISTING_JAR=$(find "$BUILD_DIR" -name "*.jar" ! -name "*-javadoc.jar" ! -name "*-sources.jar" ! -name "*-plain.jar" 2>/dev/null | head -n 1) + +if [ -n "$EXISTING_JAR" ]; then + echo -e "${GREEN}JAR already present: $EXISTING_JAR${NC}" + echo -e "${YELLOW}Skipping Gradle-Build. For rebuild, delete $BUILD_DIR/*.jar${NC}" + JAR_FILE="$EXISTING_JAR" +else + echo -e "${YELLOW}No JAR found. Building using Gradle Wrapper...${NC}" + ./gradlew clean --info --full-stacktrace + ./gradlew $GRADLE_TASK -Pversion=$APP_VERSION $GRADLE_ARGS --info --full-stacktrace + + JAR_FILE=$(find "$BUILD_DIR" -name "*.jar" ! -name "*-javadoc.jar" ! -name "*-sources.jar" ! -name "*-plain.jar" | head -n 1) + + if [ -z "$JAR_FILE" ]; then + echo -e "${RED}No JAR-file found in $BUILD_DIR${NC}" + exit 1 + fi + + echo -e "${GREEN}JAR created: $JAR_FILE${NC}" +fi + +echo -e "${GREEN}JAR found: $JAR_FILE${NC}" + +echo -e "${YELLOW}Creating AppImage-Structure...${NC}" +mkdir -p "$APP_DIR/usr/bin" +mkdir -p "$APP_DIR/usr/lib" +mkdir -p "$APP_DIR/usr/share/applications" +mkdir -p "$APP_DIR/usr/share/icons/hicolor/256x256/apps" +mkdir -p "$APP_DIR/usr/share/icons/hicolor/512x512/apps" +mkdir -p "$APP_DIR/usr/share/icons/hicolor/scalable/apps" +mkdir -p "$APP_DIR/usr/share/metainfo" + +echo -e "${YELLOW}Copying Java JDK into AppImage...${NC}" +cp -rp "$JDK_DIR" "$APP_DIR/usr/lib/jdk" +chmod +x "$APP_DIR/usr/lib/jdk/bin/"* 2>/dev/null || true +echo -e "${GREEN}JDK copied (Size: $(du -sh "$APP_DIR/usr/lib/jdk" | cut -f1))${NC}" + +if [ ! -f "$APP_DIR/usr/lib/jdk/bin/java" ]; then + echo -e "${RED}ERROR: JDK was not correctly copied!${NC}" + echo -e "${YELLOW}Check $APP_DIR/usr/lib/${NC}" + ls -la "$APP_DIR/usr/lib/" 2>&1 || true + exit 1 +fi +echo -e "${GREEN}✓ JDK exists in APP_DIR${NC}" + +cp "$JAR_FILE" "$APP_DIR/usr/lib/${APP_NAME}.jar" + +cat > "$APP_DIR/usr/bin/${APP_NAME}" << LAUNCHER_EOF +#!/bin/bash +SCRIPT_PATH="\$(readlink -f "\$0")" +APPDIR="\${SCRIPT_PATH%/usr/bin/*}" +BUNDLED_JAVA="\$APPDIR/usr/lib/jdk/bin/java" +REQUIRED_JAVA_VERSION=$JDK_VERSION + +if [ "\$DEBUG" = "1" ]; then + echo "DEBUG Launcher:" + echo " SCRIPT_PATH=\$SCRIPT_PATH" + echo " APPDIR=\$APPDIR" + echo " BUNDLED_JAVA=\$BUNDLED_JAVA" +fi + +# Function to check Java version +check_java_version() { + local java_cmd="\$1" + if [ ! -x "\$java_cmd" ]; then + return 1 + fi + + # Get Java version + local version_output=\$("\$java_cmd" -version 2>&1) + local java_version=\$(echo "\$version_output" | grep -oP '(?<=version ")([0-9]+)' | head -1) + + if [ -z "\$java_version" ]; then + # Try alternative format (OpenJDK) + java_version=\$(echo "\$version_output" | grep -oP '(?<=openjdk )([0-9]+)' | head -1) + fi + + if [ -z "\$java_version" ]; then + return 1 + fi + + if [ "\$java_version" -ge "\$REQUIRED_JAVA_VERSION" ]; then + return 0 + else + return 1 + fi +} + +# Try bundled JDK first +JAVA="" +if [ -f "\$BUNDLED_JAVA" ] && [ -x "\$BUNDLED_JAVA" ]; then + if check_java_version "\$BUNDLED_JAVA"; then + JAVA="\$BUNDLED_JAVA" + if [ "\$DEBUG" = "1" ]; then + echo "✓ Using bundled JDK: \$JAVA" + fi + fi +elif [ -f "\$BUNDLED_JAVA" ] && [ ! -x "\$BUNDLED_JAVA" ]; then + # Try to fix permissions + chmod +x "\$BUNDLED_JAVA" 2>/dev/null || true + if [ -x "\$BUNDLED_JAVA" ] && check_java_version "\$BUNDLED_JAVA"; then + JAVA="\$BUNDLED_JAVA" + if [ "\$DEBUG" = "1" ]; then + echo "✓ Using bundled JDK (fixed permissions): \$JAVA" + fi + fi +fi + +# Fallback to system Java if bundled JDK not available +if [ -z "\$JAVA" ]; then + if [ "\$DEBUG" = "1" ]; then + echo "⚠ Bundled JDK not available, checking for system Java..." + fi + + # Check if java is in PATH + if command -v java &> /dev/null; then + SYSTEM_JAVA="\$(command -v java)" + if check_java_version "\$SYSTEM_JAVA"; then + JAVA="\$SYSTEM_JAVA" + echo "⚠ Warning: Using system Java instead of bundled JDK" + echo " Location: \$JAVA" + echo -n " Version: " + \$JAVA -version 2>&1 | head -1 + else + echo "✗ Error: System Java found but version is too old (requires Java \$REQUIRED_JAVA_VERSION+)" + echo -n " Found: " + \$SYSTEM_JAVA -version 2>&1 | head -1 + fi + fi +fi + +# Final check - no compatible Java found +if [ -z "\$JAVA" ]; then + echo "========================================" + echo "ERROR: No compatible Java installation found!" + echo "========================================" + echo "" + echo "This application requires Java \$REQUIRED_JAVA_VERSION or higher." + echo "" + echo "Bundled JDK Status:" + if [ -d "\$APPDIR/usr/lib/jdk" ]; then + echo " ✗ JDK directory exists but java binary not found/executable" + echo " Expected: \$BUNDLED_JAVA" + if [ -f "\$BUNDLED_JAVA" ]; then + echo " File exists: Yes" + echo " Permissions: \$(ls -l "\$BUNDLED_JAVA" | awk '{print \$1}')" + else + echo " File exists: No" + fi + else + echo " ✗ JDK directory does not exist: \$APPDIR/usr/lib/jdk" + fi + echo "" + echo "System Java Status:" + if command -v java &> /dev/null; then + echo " ✗ Found: \$(command -v java)" + echo -n " Version: " + java -version 2>&1 | head -1 + echo " (Too old - requires Java \$REQUIRED_JAVA_VERSION+)" + else + echo " ✗ No 'java' command found in PATH" + fi + echo "" + echo "Solutions:" + echo " 1. Install Java \$REQUIRED_JAVA_VERSION or higher:" + echo " Ubuntu/Debian: sudo apt install openjdk-21-jre" + echo " Fedora: sudo dnf install java-21-openjdk" + echo " Arch: sudo pacman -S jre-openjdk" + echo " 2. Re-download the AppImage (bundled JDK may be corrupted)" + echo " 3. Run with DEBUG=1 for more information" + echo "" + exit 1 +fi + +# Launch application +exec "\$JAVA" ${APP_ARGS} -jar "\$APPDIR/usr/lib/${APP_NAME}.jar" "\$@" +LAUNCHER_EOF + +chmod +x "$APP_DIR/usr/bin/${APP_NAME}" + +cat > "$APP_DIR/usr/share/applications/${APP_NAME}.desktop" << EOF +[Desktop Entry] +Type=Application +Name=${APP_NAME} +Comment=${APP_COMMENT} +Exec=${APP_NAME} +Icon=${APP_NAME} +Categories=${APP_CATEGORIES} +Terminal=false +StartupWMClass=${APP_MAIN_CLASS} +EOF + +cp img/app_256x256.png "$APP_DIR/usr/share/icons/hicolor/256x256/apps/${APP_NAME}.png" +cp img/app.png "$APP_DIR/usr/share/icons/hicolor/512x512/apps/${APP_NAME}.png" +cp img/app.svg "$APP_DIR/usr/share/icons/hicolor/scalable/apps/${APP_NAME}.svg" +cp "$APP_DIR/usr/share/icons/hicolor/256x256/apps/${APP_NAME}.png" "$APP_DIR/${APP_NAME}.png" 2>/dev/null || true +cp "$APP_DIR/usr/share/applications/${APP_NAME}.desktop" "$APP_DIR/${APP_NAME}.desktop" +cp misc/appdata.xml "$APP_DIR/usr/share/metainfo/de.griefed.ServerPackCreator.appdata.xml" + +cat > "$APP_DIR/AppRun" << EOF +#!/bin/bash +APPDIR="\$(cd "\$(dirname "\$(readlink -f "\$0")")" && pwd)" + +# Debug: If APPDIR is empty +if [ -z "\$APPDIR" ]; then + echo "ERROR: APPDIR could not be computed" + exit 1 +fi + +# Debug-Mode +if [ "\$DEBUG" = "1" ]; then + echo "DEBUG AppRun:" + echo " \$0 = \$0" + echo " readlink = \$(readlink -f "\$0")" + echo " dirname = \$(dirname "\$(readlink -f "\$0")")" + echo " APPDIR = \$APPDIR" + echo " Target = \$APPDIR/usr/bin/${APP_NAME}" +fi + +export PATH="\$APPDIR/usr/bin:\$PATH" +export LD_LIBRARY_PATH="\$APPDIR/usr/lib:\$LD_LIBRARY_PATH" + +# Check if launcher exists +if [ ! -f "\$APPDIR/usr/bin/${APP_NAME}" ]; then + echo "ERROR: Launcher not found: \$APPDIR/usr/bin/${APP_NAME}" + echo "APPDIR contents:" + ls -la "\$APPDIR" 2>&1 || true + exit 1 +fi + +exec "\$APPDIR/usr/bin/${APP_NAME}" "\$@" +EOF + +chmod +x "$APP_DIR/AppRun" + +echo -e "${YELLOW}Creating AppImage for ${APPIMAGE_ARCH} (this can take a while)...${NC}" +rm -f ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage + +if [ "$MACHINE" = "Linux" ]; then + ARCH=$APPIMAGE_ARCH $APPIMAGETOOL "$APP_DIR" "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" +elif [ "$MACHINE" = "Mac" ]; then + echo -e "${YELLOW}Using Docker for AppImage-Build...${NC}" + + if [ "$BUILD_ARCH" = "aarch64" ]; then + DOCKER_PLATFORM="linux/arm64" + APPIMAGETOOL_ARCH="aarch64" + else + DOCKER_PLATFORM="linux/amd64" + APPIMAGETOOL_ARCH="x86_64" + fi + + cat > Dockerfile.appimage << DOCKERFILE_EOF +FROM --platform=${DOCKER_PLATFORM} ubuntu:22.04 +RUN apt-get update && apt-get install -y \ + wget file libglib2.0-0 libfuse2 libcairo2 \ + libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils \ + && rm -rf /var/lib/apt/lists/* +RUN wget -O /usr/local/bin/appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${APPIMAGETOOL_ARCH}.AppImage && \ + chmod +x /usr/local/bin/appimagetool && \ + cd /usr/local/bin && \ + ./appimagetool --appimage-extract && \ + mv squashfs-root appimagetool-dir && \ + rm appimagetool && \ + ln -s /usr/local/bin/appimagetool-dir/AppRun /usr/local/bin/appimagetool +WORKDIR /work +DOCKERFILE_EOF + + DOCKER_IMAGE_NAME="appimage-builder-${BUILD_ARCH}" + if ! docker images | grep -q "$DOCKER_IMAGE_NAME"; then + echo -e "${YELLOW}Building Docker-Image for AppImage-creation (${BUILD_ARCH})...${NC}" + docker build --platform=${DOCKER_PLATFORM} -t $DOCKER_IMAGE_NAME -f Dockerfile.appimage . + fi + + echo -e "${YELLOW}Packing APP_DIR for Docker-Transfer...${NC}" + echo -e "${YELLOW}APP_DIR contents before packaging:${NC}" + ls -lh "$APP_DIR/usr/lib/" | head -5 + + tar -czf "${APP_DIR}.tar.gz" "$APP_DIR" + echo -e "${GREEN}Archive created: $(du -sh "${APP_DIR}.tar.gz" | cut -f1)${NC}" + + echo -e "${YELLOW}Checking if JDK is present in archive...${NC}" + if tar -tzf "${APP_DIR}.tar.gz" | grep -q "jdk/bin/java"; then + echo -e "${GREEN}✓ JDK is present in tar-archive${NC}" + else + echo -e "${RED}✗ ERROR: JDK is NOT present in tar-archive!${NC}" + exit 1 + fi + + docker run --rm --platform=${DOCKER_PLATFORM} \ + -v "$(pwd)/${APP_DIR}.tar.gz:/work/appdir.tar.gz" \ + -v "$(pwd):/output" \ + $DOCKER_IMAGE_NAME \ + sh -c "cd /work && tar -xzf appdir.tar.gz && cd /output && ARCH=${APPIMAGE_ARCH} appimagetool /work/${APP_DIR} ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" + + rm -f "${APP_DIR}.tar.gz" +fi + +echo -e "${YELLOW}Verifying AppImage-Contents...${NC}" +if [ -f "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" ]; then + ./${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage --appimage-extract >/dev/null 2>&1 + if [ -f "squashfs-root/usr/lib/jdk/bin/java" ]; then + echo -e "${GREEN}✓ JDK is present in tar-archive${NC}" + else + echo -e "${RED}✗ ERROR: JDK is NOT present in tar-archive!${NC}" + echo -e "${YELLOW}Checking squashfs-root/usr/lib/${NC}" + ls -la squashfs-root/usr/lib/ 2>&1 || true + fi + rm -rf squashfs-root +else + echo -e "${RED}✗ AppImage was not created!${NC}" + exit 1 +fi + +echo -e "${GREEN}=== Done! ===${NC}" +echo -e "${GREEN}AppImage created: ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage${NC}" +APPIMAGE_SIZE=$(du -h "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" | cut -f1) +echo -e "${GREEN}Site: ${APPIMAGE_SIZE}${NC}" +echo -e "${GREEN}Architecture: ${APPIMAGE_ARCH}${NC}" +echo -e "${YELLOW}Test with: ./${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage${NC}" +echo -e "${YELLOW}FYI: This AppImage contains Java 21 and does not need a separate Java installation!${NC}" diff --git a/misc/create-appimage.sh b/misc/create-appimage.sh deleted file mode 100644 index 80a322e2e..000000000 --- a/misc/create-appimage.sh +++ /dev/null @@ -1,146 +0,0 @@ -#!/bin/bash - -SOURCE=${BASH_SOURCE[0]} -while [ -L "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink - DIR=$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd ) - SOURCE=$(readlink "$SOURCE") - [[ $SOURCE != /* ]] && SOURCE=$DIR/$SOURCE # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located -done -DIR=$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd ) -cd "${DIR}" >/dev/null 2>&1 || exit - -VERSION=$1 -VERSION="${VERSION:-dev}" -YEAR=$(date +%Y) -JAVA_HOME="${JAVA_HOME:-/usr/lib/jvm/java-21-openjdk-amd64}" -BASE=appimage -INPUT=${BASE}/input -DEST=${BASE}/dist -TEMP=${BASE}/temp -APPDIR=${BASE}/ServerPackCreator.AppDir - -rm -rf ${BASE}/* -mkdir -p \ - ${INPUT} \ - ${DEST} \ - ${TEMP} \ - ${APPDIR}/usr/share/applications \ - ${APPDIR}/usr/icons/hicolor/256x256/apps \ - ${APPDIR}/usr/icons/hicolor/512x512/apps \ - ${APPDIR}/usr/icons/hicolor/scalable/apps \ - ${APPDIR}/usr/share/applications \ - ${APPDIR}/usr/share/metainfo - -goback() { - cd "${DIR}" -} - -trap goback EXIT - -cp -f \ - serverpackcreator-app/build/libs/serverpackcreator-app-${VERSION}.jar \ - ${INPUT}/serverpackcreator.jar - -# -# CREATE IMAGE -# -jpackage \ - --app-version "${VERSION}" \ - --name "ServerPackCreator" \ - --copyright "Copyright (C) ${YEAR} Griefed" \ - --description "Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks." \ - --vendor "Griefed" \ - --icon img/icon.png \ - --dest ${DEST} \ - --java-options "-Dfile.encoding=UTF-8" \ - --java-options "-Dlog4j2.formatMsgNoLookups=true" \ - --java-options "-DServerPackCreator" \ - --java-options "-Dname=ServerPackCreator" \ - --java-options "-Dspring.application.name=ServerPackCreator" \ - --java-options "-Dcom.apple.mrj.application.apple.menu.about.name=ServerPackCreator" \ - --main-class org.springframework.boot.loader.launch.JarLauncher \ - --main-jar "serverpackcreator.jar" \ - --input "${INPUT}/" \ - --runtime-image "${JAVA_HOME}" \ - --temp "${TEMP}" \ - --type "app-image" \ - --verbose - -# -# CREATE APPIMAGE -# -{ - echo "#!/usr/bin/env xdg-open" - echo "[Desktop Entry]" - echo "Name=ServerPackCreator" - echo "Name[en]=ServerPackCreator" - echo "Comment=Create server packs from Minecraft modpacks." - echo "Exec=ServerPackCreator" - echo "Icon=ServerPackCreator" - echo "Type=Application" - echo "Categories=Utility;FileTools;Java;" - echo "StartupWMClass=org.springframework.boot.loader.launch.JarLauncher" -} >>${APPDIR}/usr/share/applications/de.griefed.ServerPackCreator.desktop - -cp -rf \ - ${DEST}/ServerPackCreator/* \ - ${APPDIR} - -cp -f \ - misc/appdata.xml \ - ${APPDIR}/usr/share/metainfo/de.griefed.ServerPackCreator.appdata.xml - -cp -f \ - img/app_256x256.png \ - ${APPDIR}/usr/icons/hicolor/256x256/apps/ServerPackCreator.png - -cp -f \ - img/app.png \ - ${APPDIR}/usr/icons/hicolor/512x512/apps/ServerPackCreator.png - -cp -f \ - img/app.svg \ - ${APPDIR}/usr/icons/hicolor/scalable/apps/ServerPackCreator.svg - -cd ${APPDIR} - -ln -s \ - bin/ServerPackCreator \ - AppRun - -ln -s \ - usr/share/applications/de.griefed.ServerPackCreator.desktop \ - de.griefed.ServerPackCreator.desktop - -ln -s \ - usr/icons/hicolor/512x512/apps/ServerPackCreator.png \ - ServerPackCreator.png - -ln -s \ - usr/icons/hicolor/scalable/apps/ServerPackCreator.svg \ - ServerPackCreator.svg - -cd .. - -wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2) - -mv \ - appimagetool-*.AppImage \ - appimagetool.AppImage - -chmod +x \ - appimagetool.AppImage - -export ARCH=x86_64 -export PATH=./squashfs-root/usr/bin:${PATH} -export VERSION="${VERSION:-dev}" - -./appimagetool.AppImage \ - --standalone \ - ./ServerPackCreator.AppDir - -ls -hat - -mv \ - ServerPackCreator*.AppImage \ - ServerPackCreator-${VERSION}-x86_64.AppImage || echo "Move not necessary." \ No newline at end of file diff --git a/serverpackcreator-api/src/main/kotlin/de/griefed/serverpackcreator/api/serverpack/ServerPackHandler.kt b/serverpackcreator-api/src/main/kotlin/de/griefed/serverpackcreator/api/serverpack/ServerPackHandler.kt index 768d33a72..94ae774bc 100644 --- a/serverpackcreator-api/src/main/kotlin/de/griefed/serverpackcreator/api/serverpack/ServerPackHandler.kt +++ b/serverpackcreator-api/src/main/kotlin/de/griefed/serverpackcreator/api/serverpack/ServerPackHandler.kt @@ -1159,6 +1159,7 @@ class ServerPackHandler( if (autoDiscoveredClientMods.isNotEmpty()) { log.info("Automatically detected mods: ${autoDiscoveredClientMods.size}") for (discoveredMod in autoDiscoveredClientMods) { + @Suppress("VariableInitializerIsRedundant") var whitelistMatch = "N/A" val modName = discoveredMod.name val isWhitelistedMod = modWhitelist.any { whitelistEntry -> From 7d919dc0ec789bdf810520cb24ac09a93029d42c Mon Sep 17 00:00:00 2001 From: Griefed Date: Wed, 18 Feb 2026 19:02:40 +0100 Subject: [PATCH 02/34] ci: Run both amd64 and aarch64 AppImage builds in Docker Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 25 +- licenses/LICENSE-AGREEMENT.txt | 4462 ++++++++++++++++++++++++++++++++ 2 files changed, 4482 insertions(+), 5 deletions(-) create mode 100644 licenses/LICENSE-AGREEMENT.txt diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 75f065181..fa645342a 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -85,15 +85,17 @@ jobs: with: fetch-depth: 0 - - name: Set up QEMU (für ARM64) + - name: Set up QEMU (for ARM64) if: matrix.arch == 'aarch64' uses: docker/setup-qemu-action@v3 with: platforms: linux/arm64 - - name: Set up Docker Buildx (für ARM64) + - name: Set up QEMU (for ARM64) if: matrix.arch == 'aarch64' - uses: docker/setup-buildx-action@v3 + uses: docker/setup-qemu-action@v3 + with: + platforms: linux/amd64 - name: Cache JDK download uses: actions/cache@v4 @@ -110,9 +112,21 @@ jobs: - name: Make build script executable run: chmod +x misc/build-appimage.sh - - name: Build AppImage (x86_64 - native) + - name: Build AppImage (aarch64 - QEMU via Docker) if: matrix.arch == 'x86_64' - run: misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} + run: | + docker run --rm --platform linux/amd64 \ + -v "$(pwd):/workspace" \ + -w /workspace \ + ubuntu:22.04 \ + bash -c " + apt-get update && \ + apt-get install -y wget curl file tar gzip \ + libfuse2 libglib2.0-0 libcairo2 libpango-1.0-0 \ + libgdk-pixbuf2.0-0 desktop-file-utils && \ + cd /workspace && \ + misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} + " - name: Build AppImage (aarch64 - QEMU via Docker) if: matrix.arch == 'aarch64' @@ -130,6 +144,7 @@ jobs: misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} " + - name: Verify AppImage run: | APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" diff --git a/licenses/LICENSE-AGREEMENT.txt b/licenses/LICENSE-AGREEMENT.txt new file mode 100644 index 000000000..7abdcc337 --- /dev/null +++ b/licenses/LICENSE-AGREEMENT.txt @@ -0,0 +1,4462 @@ +ServerPackCreator license agreement: + +By using a dev- / pre-release version of ServerPackCreator, you agree to do so at your own risk. +You agree to take responsibility for distributing a possibly faulty server pack +and will not hold Griefed, or any other party responsible for ServerPackCreator, +accountable should any issues / problems / errors arise from the use of said +software's dev- / pre-release version. +You may, however, report issues encountered when using this version on GitHub: +https://github.com/Griefed/ServerPackCreator/issues + +ServerPackCreator dev license: + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + +Used libraries / dependencies licenses: + +------------------------------------------------------- + +(1 of 38) +Group: com.cronutils +Name: cron-utils +Version: 9.2.1 +Manifest license URL: https://www.apache.org/licenses/LICENSE-2.0 + + +POM Project URL: http://cron-parser.com/ + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(2 of 38) +Group: com.electronwill.night-config +Name: toml +Version: 3.8.3 +POM Project URL: https://github.com/TheElectronWill/night-config + + +POM License: GNU Lesser General Public License v3.0 + - https://www.gnu.org/licenses/lgpl-3.0.txt + + +POM license(s): + + +License: GNU Lesser General Public License v3.0 +URL: https://www.gnu.org/licenses/lgpl-3.0.txt + + +####################################### + +(3 of 38) +Group: com.fasterxml.jackson.core +Name: jackson-databind +Version: 2.21.0 +Project URL: https://github.com/FasterXML/jackson\n\n +Manifest license URL: https://www.apache.org/licenses/LICENSE-2.0 + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +# Jackson JSON processor + +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers. + +## Copyright + +Copyright 2007-, Tatu Saloranta (tatu.saloranta@iki.fi) + +## Licensing + +Jackson 2.x core and extension components are licensed under Apache License 2.0 +To find the details that apply to this artifact see the accompanying LICENSE file. + +## Credits + +A list of contributors may be found from CREDITS(-2.x) file, which is included +in some artifacts (usually source distributions); but is always available +from the source code management (SCM) system project uses. + + +####################################### + +(4 of 38) +Group: com.fasterxml.jackson.module +Name: jackson-module-kotlin +Version: 2.21.0 +Project URL: https://github.com/FasterXML/jackson-module-kotlin\n\n +Manifest license URL: https://www.apache.org/licenses/LICENSE-2.0 + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +# Jackson JSON processor + +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers, as well as supported +commercially by FasterXML.com. + +## Copyright + +Copyright 2007-, Tatu Saloranta (tatu.saloranta@iki.fi) + +## Licensing + +Jackson core and extension components may be licensed under different licenses. +To find the details that apply to this artifact see the accompanying LICENSE file. +For more information, including possible other licensing options, contact +FasterXML.com (http://fasterxml.com). + +## Credits + +A list of contributors may be found from CREDITS file, which is included +in some artifacts (usually source distributions); but is always available +from the source code management (SCM) system project uses. + + +####################################### + +(5 of 38) +Group: com.formdev +Name: flatlaf +Version: 3.7 +POM Project URL: https://github.com/JFormDesigner/FlatLaf + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +####################################### + +(6 of 38) +Group: com.formdev +Name: flatlaf-extras +Version: 3.7 +POM Project URL: https://github.com/JFormDesigner/FlatLaf + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +####################################### + +(7 of 38) +Group: com.formdev +Name: flatlaf-fonts-inter +Version: 4.1 +POM Project URL: https://github.com/JFormDesigner/FlatLaf + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM License: SIL OPEN FONT LICENSE Version 1.1 + - https://choosealicense.com/licenses/ofl-1.1/ + + +Embedded license: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION AND CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + + +####################################### + +(8 of 38) +Group: com.formdev +Name: flatlaf-fonts-jetbrains-mono +Version: 2.304 +POM Project URL: https://github.com/JFormDesigner/FlatLaf + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM License: SIL OPEN FONT LICENSE Version 1.1 + - https://choosealicense.com/licenses/ofl-1.1/ + + +Embedded license: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +####################################### + +(9 of 38) +Group: com.formdev +Name: flatlaf-fonts-roboto +Version: 2.137 +POM Project URL: https://github.com/JFormDesigner/FlatLaf + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +####################################### + +(10 of 38) +Group: com.formdev +Name: flatlaf-fonts-roboto-mono +Version: 3.000 +POM Project URL: https://github.com/JFormDesigner/FlatLaf + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +####################################### + +(11 of 38) +Group: com.formdev +Name: flatlaf-intellij-themes +Version: 3.7 +POM Project URL: https://github.com/JFormDesigner/FlatLaf + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +####################################### + +(12 of 38) +Group: com.formdev +Name: svgSalamander +Version: 1.1.4 +POM Project URL: https://github.com/JFormDesigner/svgSalamander + + +POM License: BSD Zero Clause License + - https://opensource.org/licenses/0BSD + + +POM License: The 2-Clause BSD License + - https://opensource.org/licenses/BSD-2-Clause + + +POM license(s): + + +License: BSD Zero Clause License +URL: https://opensource.org/licenses/0BSD + + +License: The 2-Clause BSD License +URL: https://opensource.org/licenses/BSD-2-Clause + + +####################################### + +(13 of 38) +Group: com.github.MCRcortex +Name: nekodetector +Version: Version-1.1-pre +POM Project URL: https://github.com/MCRcortex/nekodetector + + +POM License: MIT License + - https://opensource.org/licenses/MIT + + +POM license(s): + + +License: MIT License +URL: https://opensource.org/licenses/MIT + + +####################################### + +(14 of 38) +Group: com.install4j +Name: install4j-runtime +Version: 12.0.2 +POM Project URL: https://www.ej-technologies.com/install4j + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(15 of 38) +Group: com.miglayout +Name: miglayout-swing +Version: 11.4.2 +POM Project URL: http://www.miglayout.com/ + + +POM License: BSD Zero Clause License + - https://opensource.org/licenses/0BSD + + +POM license(s): + + +License: BSD Zero Clause License +URL: https://opensource.org/licenses/0BSD + + +####################################### + +(16 of 38) +Group: commons-io +Name: commons-io +Version: 2.21.0 +Project URL: https://commons.apache.org/proper/commons-io/\n\n +Manifest license URL: https://www.apache.org/licenses/LICENSE-2.0 + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +Apache Commons IO +Copyright 2002-2025 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (https://www.apache.org/). + + +####################################### + +(17 of 38) +Group: de.comahe.i18n4k +Name: i18n4k-core +Version: 0.11.1 +POM Project URL: https://comahe-de.github.io/i18n4k/ + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(18 of 38) +Group: de.comahe.i18n4k +Name: i18n4k-core-jvm +Version: 0.11.1 +POM Project URL: https://comahe-de.github.io/i18n4k/ + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(19 of 38) +Group: de.jensklingenberg.ktorfit +Name: ktorfit-lib +Version: 2.7.2 +POM Project URL: https://github.com/Foso/Ktorfit + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(20 of 38) +Group: info.picocli +Name: picocli-shell-jline3 +Version: 4.7.7 +POM Project URL: https://picocli.info + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(21 of 38) +Group: io.github.microutils +Name: kotlin-logging +Version: 3.0.5 +POM Project URL: https://github.com/oshai/kotlin-logging + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(22 of 38) +Group: net.java.balloontip +Name: balloontip +Version: 1.2.4.1 +POM Project URL: http://balloontip.java.net/ + + +POM License: The 3-Clause BSD License + - https://opensource.org/licenses/BSD-3-Clause + + +POM license(s): + + +License: The 3-Clause BSD License +URL: https://opensource.org/licenses/BSD-3-Clause + + +####################################### + +(23 of 38) +Group: net.lingala.zip4j +Name: zip4j +Version: 2.11.6 +Manifest license URL: https://www.apache.org/licenses/LICENSE-2.0 + + +POM Project URL: https://github.com/srikanth-lingala/zip4j + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(24 of 38) +Group: org.apache.logging.log4j +Name: log4j-api-kotlin +Version: 1.5.0 +Manifest license URL: https://www.apache.org/licenses/LICENSE-2.0 + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +Apache Log4j Kotlin API +Copyright 1999-2024 The Apache Software Foundation + + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + +####################################### + +(25 of 38) +Group: org.apache.logging.log4j +Name: log4j-core +Version: 2.25.3 +Manifest license URL: https://www.apache.org/licenses/LICENSE-2.0 + + +POM Project URL: https://logging.apache.org/log4j/2.x/ + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 1999-2005 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +Apache Log4j Core +Copyright 1999-2012 Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +ResolverUtil.java +Copyright 2005-2006 Tim Fennell + +####################################### + +(26 of 38) +Group: org.bouncycastle +Name: bcpkix-jdk18on +Version: 1.83 +POM Project URL: https://www.bouncycastle.org/download/bouncy-castle-java/ + + +POM License: Bouncy Castle Licence + - https://www.bouncycastle.org/licence.html + + +POM license(s): + + +License: Bouncy Castle Licence +URL: https://www.bouncycastle.org/licence.html + + +####################################### + +(27 of 38) +Group: org.jetbrains.kotlin +Name: kotlin-bom +Version: 2.3.10 +POM Project URL: https://kotlinlang.org/ + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(28 of 38) +Group: org.jetbrains.kotlin +Name: kotlin-reflect +Version: 2.3.0 +POM Project URL: https://kotlinlang.org/ + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(29 of 38) +Group: org.jetbrains.kotlin +Name: kotlin-stdlib +Version: 2.3.10 +POM Project URL: https://kotlinlang.org/ + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(30 of 38) +Group: org.jetbrains.kotlinx +Name: kotlinx-coroutines-core +Version: 1.10.2 +POM Project URL: https://github.com/Kotlin/kotlinx.coroutines + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(31 of 38) +Group: org.jetbrains.kotlinx +Name: kotlinx-coroutines-swing +Version: 1.10.2 +POM Project URL: https://github.com/Kotlin/kotlinx.coroutines + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(32 of 38) +Group: org.jetbrains.kotlinx +Name: kotlinx-datetime +Version: 0.7.1-0.6.x-compat +POM Project URL: https://github.com/Kotlin/kotlinx-datetime + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(33 of 38) +Group: org.pf4j +Name: pf4j +Version: 3.15.0 +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +POM license(s): + + +License: Apache License, Version 2.0 +URL: https://www.apache.org/licenses/LICENSE-2.0 + + +####################################### + +(34 of 38) +Group: org.springframework.boot +Name: spring-boot-devtools +Version: 4.0.2 +POM Project URL: https://spring.io/projects/spring-boot + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + +Develocity Gradle Plugin +======================== +Copyright (c) 2025 Gradle Inc. +All rights reserved. + +Use of this software is subject to the Develocity Software Agreement +located at https://gradle.com/help/legal-terms-of-use + + + +Develocity Gradle Plugin +======================== +Copyright (c) 2025 Gradle Inc. +All rights reserved. + +Use of this software is subject to the Develocity Software Agreement +located at https://gradle.com/help/legal-terms-of-use + +This artifact includes parts of the following open source libraries. + +Apache Commons Codec (https://commons.apache.org/proper/commons-codec/) - Apache-2.0 (see META-INF/licenses/commons-codec-1.19.0/LICENSE.txt) +Apache Commons Compress (https://commons.apache.org/proper/commons-compress/) - Apache-2.0 (see META-INF/licenses/commons-compress-1.28.0/LICENSE.txt) +Apache Commons IO (https://commons.apache.org/proper/commons-io/) - Apache-2.0 (see META-INF/licenses/commons-io-2.20.0/LICENSE.txt) +Apache Commons Lang (https://commons.apache.org/proper/commons-lang/) - Apache-2.0 (see META-INF/licenses/commons-lang3-3.18.0/LICENSE.txt) +Apache Commons Logging (https://commons.apache.org/proper/commons-logging/) - Apache-2.0 (see META-INF/licenses/commons-logging-1.3.5/LICENSE.txt) +Apache HttpClient (http://hc.apache.org/httpcomponents-client-ga) - Apache-2.0 (see META-INF/licenses/httpclient-4.5.14/LICENSE.txt) +Apache HttpCore (http://hc.apache.org/httpcomponents-core-ga) - Apache-2.0 (see META-INF/licenses/httpcore-4.4.16/LICENSE.txt) +asm (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-9.9/LICENSE.txt) +asm-commons (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-commons-9.9/LICENSE.txt) +asm-tree (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-tree-9.9/LICENSE.txt) +error-prone annotations - Apache-2.0 (see META-INF/licenses/error_prone_annotations-2.36.0/LICENSE.txt) +Failsafe - Apache-2.0 (see META-INF/licenses/failsafe-3.3.2/LICENSE.txt) +FindBugs-jsr305 (http://findbugs.sourceforge.net/) - Apache-2.0 (see META-INF/licenses/jsr305-3.0.2/LICENSE.txt) +Guava InternalFutureFailureAccess and InternalFutures - Apache-2.0 (see META-INF/licenses/failureaccess-1.0.3/LICENSE.txt) +Guava ListenableFuture only - Apache-2.0 (see META-INF/licenses/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava/LICENSE.txt) +J2ObjC Annotations (https://github.com/google/j2objc/) - Apache-2.0 (see META-INF/licenses/j2objc-annotations-3.1/LICENSE.txt) +Jackson dataformat: Smile (https://github.com/FasterXML/jackson-dataformats-binary) - Apache-2.0 (see META-INF/licenses/jackson-dataformat-smile-2.20.0/LICENSE.txt) +Jackson datatype: jdk8 - Apache-2.0 (see META-INF/licenses/jackson-datatype-jdk8-2.20.0/LICENSE.txt) +Jackson datatype: JSR310 - Apache-2.0 (see META-INF/licenses/jackson-datatype-jsr310-2.20.0/LICENSE.txt) +Jackson-annotations (https://github.com/FasterXML/jackson) - Apache-2.0 (see META-INF/licenses/jackson-annotations-2.20/LICENSE.txt) +Jackson-core (https://github.com/FasterXML/jackson-core) - Apache-2.0 (see META-INF/licenses/jackson-core-2.20.0/LICENSE.txt) +jackson-databind (https://github.com/FasterXML/jackson) - Apache-2.0 (see META-INF/licenses/jackson-databind-2.20.0/LICENSE.txt) +Jackson-module-parameter-names - Apache-2.0 (see META-INF/licenses/jackson-module-parameter-names-2.20.0/LICENSE.txt) +JaCoCo :: Core - EPL-2.0 (see META-INF/licenses/org.jacoco.core-0.8.13/LICENSE.txt) +Java Native Access (https://github.com/java-native-access/jna) - Apache-2.0, LGPL-2.1 (see META-INF/licenses/jna-5.16.0/LICENSE.txt) +Java Native Access Platform (https://github.com/java-native-access/jna) - Apache-2.0, LGPL-2.1 (see META-INF/licenses/jna-platform-5.16.0/LICENSE.txt) +JSpecify annotations (http://jspecify.org/) - Apache-2.0 (see META-INF/licenses/jspecify-1.0.0/LICENSE.txt) +Kryo ${kryo.major.version} - BSD-3-Clause (see META-INF/licenses/kryo5-5.6.2/LICENSE.txt) +Netty/Buffer - Apache-2.0 (see META-INF/licenses/netty-buffer-4.2.6.Final/LICENSE.txt) +Netty/Codec - Apache-2.0 (see META-INF/licenses/netty-codec-4.2.6.Final/LICENSE.txt) +Netty/Codec/Base - Apache-2.0 (see META-INF/licenses/netty-codec-base-4.2.6.Final/LICENSE.txt) +Netty/Codec/Compression - Apache-2.0 (see META-INF/licenses/netty-codec-compression-4.2.6.Final/LICENSE.txt) +Netty/Codec/HTTP - Apache-2.0 (see META-INF/licenses/netty-codec-http-4.2.6.Final/LICENSE.txt) +Netty/Codec/Marshalling - Apache-2.0 (see META-INF/licenses/netty-codec-marshalling-4.2.6.Final/LICENSE.txt) +Netty/Codec/Protobuf - Apache-2.0 (see META-INF/licenses/netty-codec-protobuf-4.2.6.Final/LICENSE.txt) +Netty/Codec/Socks - Apache-2.0 (see META-INF/licenses/netty-codec-socks-4.2.6.Final/LICENSE.txt) +Netty/Common - Apache-2.0 (see META-INF/licenses/netty-common-4.2.6.Final/LICENSE.txt) +Netty/Handler - Apache-2.0 (see META-INF/licenses/netty-handler-4.2.6.Final/LICENSE.txt) +Netty/Handler/Proxy - Apache-2.0 (see META-INF/licenses/netty-handler-proxy-4.2.6.Final/LICENSE.txt) +Netty/Resolver - Apache-2.0 (see META-INF/licenses/netty-resolver-4.2.6.Final/LICENSE.txt) +Netty/Transport - Apache-2.0 (see META-INF/licenses/netty-transport-4.2.6.Final/LICENSE.txt) +Netty/Transport/Native/Unix/Common - Apache-2.0 (see META-INF/licenses/netty-transport-native-unix-common-4.2.6.Final/LICENSE.txt) +oshi-core - MIT (see META-INF/licenses/oshi-core-6.9.0/LICENSE.txt) +picocli (https://picocli.info) - Apache-2.0 (see META-INF/licenses/picocli-4.7.7/LICENSE.txt) + + +####################################### + +(35 of 38) +Group: org.springframework.boot +Name: spring-boot-starter-data-mongodb +Version: 4.0.2 +POM Project URL: https://spring.io/projects/spring-boot + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + +Develocity Gradle Plugin +======================== +Copyright (c) 2025 Gradle Inc. +All rights reserved. + +Use of this software is subject to the Develocity Software Agreement +located at https://gradle.com/help/legal-terms-of-use + + + +Develocity Gradle Plugin +======================== +Copyright (c) 2025 Gradle Inc. +All rights reserved. + +Use of this software is subject to the Develocity Software Agreement +located at https://gradle.com/help/legal-terms-of-use + +This artifact includes parts of the following open source libraries. + +Apache Commons Codec (https://commons.apache.org/proper/commons-codec/) - Apache-2.0 (see META-INF/licenses/commons-codec-1.19.0/LICENSE.txt) +Apache Commons Compress (https://commons.apache.org/proper/commons-compress/) - Apache-2.0 (see META-INF/licenses/commons-compress-1.28.0/LICENSE.txt) +Apache Commons IO (https://commons.apache.org/proper/commons-io/) - Apache-2.0 (see META-INF/licenses/commons-io-2.20.0/LICENSE.txt) +Apache Commons Lang (https://commons.apache.org/proper/commons-lang/) - Apache-2.0 (see META-INF/licenses/commons-lang3-3.18.0/LICENSE.txt) +Apache Commons Logging (https://commons.apache.org/proper/commons-logging/) - Apache-2.0 (see META-INF/licenses/commons-logging-1.3.5/LICENSE.txt) +Apache HttpClient (http://hc.apache.org/httpcomponents-client-ga) - Apache-2.0 (see META-INF/licenses/httpclient-4.5.14/LICENSE.txt) +Apache HttpCore (http://hc.apache.org/httpcomponents-core-ga) - Apache-2.0 (see META-INF/licenses/httpcore-4.4.16/LICENSE.txt) +asm (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-9.9/LICENSE.txt) +asm-commons (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-commons-9.9/LICENSE.txt) +asm-tree (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-tree-9.9/LICENSE.txt) +error-prone annotations - Apache-2.0 (see META-INF/licenses/error_prone_annotations-2.36.0/LICENSE.txt) +Failsafe - Apache-2.0 (see META-INF/licenses/failsafe-3.3.2/LICENSE.txt) +FindBugs-jsr305 (http://findbugs.sourceforge.net/) - Apache-2.0 (see META-INF/licenses/jsr305-3.0.2/LICENSE.txt) +Guava InternalFutureFailureAccess and InternalFutures - Apache-2.0 (see META-INF/licenses/failureaccess-1.0.3/LICENSE.txt) +Guava ListenableFuture only - Apache-2.0 (see META-INF/licenses/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava/LICENSE.txt) +J2ObjC Annotations (https://github.com/google/j2objc/) - Apache-2.0 (see META-INF/licenses/j2objc-annotations-3.1/LICENSE.txt) +Jackson dataformat: Smile (https://github.com/FasterXML/jackson-dataformats-binary) - Apache-2.0 (see META-INF/licenses/jackson-dataformat-smile-2.20.0/LICENSE.txt) +Jackson datatype: jdk8 - Apache-2.0 (see META-INF/licenses/jackson-datatype-jdk8-2.20.0/LICENSE.txt) +Jackson datatype: JSR310 - Apache-2.0 (see META-INF/licenses/jackson-datatype-jsr310-2.20.0/LICENSE.txt) +Jackson-annotations (https://github.com/FasterXML/jackson) - Apache-2.0 (see META-INF/licenses/jackson-annotations-2.20/LICENSE.txt) +Jackson-core (https://github.com/FasterXML/jackson-core) - Apache-2.0 (see META-INF/licenses/jackson-core-2.20.0/LICENSE.txt) +jackson-databind (https://github.com/FasterXML/jackson) - Apache-2.0 (see META-INF/licenses/jackson-databind-2.20.0/LICENSE.txt) +Jackson-module-parameter-names - Apache-2.0 (see META-INF/licenses/jackson-module-parameter-names-2.20.0/LICENSE.txt) +JaCoCo :: Core - EPL-2.0 (see META-INF/licenses/org.jacoco.core-0.8.13/LICENSE.txt) +Java Native Access (https://github.com/java-native-access/jna) - Apache-2.0, LGPL-2.1 (see META-INF/licenses/jna-5.16.0/LICENSE.txt) +Java Native Access Platform (https://github.com/java-native-access/jna) - Apache-2.0, LGPL-2.1 (see META-INF/licenses/jna-platform-5.16.0/LICENSE.txt) +JSpecify annotations (http://jspecify.org/) - Apache-2.0 (see META-INF/licenses/jspecify-1.0.0/LICENSE.txt) +Kryo ${kryo.major.version} - BSD-3-Clause (see META-INF/licenses/kryo5-5.6.2/LICENSE.txt) +Netty/Buffer - Apache-2.0 (see META-INF/licenses/netty-buffer-4.2.6.Final/LICENSE.txt) +Netty/Codec - Apache-2.0 (see META-INF/licenses/netty-codec-4.2.6.Final/LICENSE.txt) +Netty/Codec/Base - Apache-2.0 (see META-INF/licenses/netty-codec-base-4.2.6.Final/LICENSE.txt) +Netty/Codec/Compression - Apache-2.0 (see META-INF/licenses/netty-codec-compression-4.2.6.Final/LICENSE.txt) +Netty/Codec/HTTP - Apache-2.0 (see META-INF/licenses/netty-codec-http-4.2.6.Final/LICENSE.txt) +Netty/Codec/Marshalling - Apache-2.0 (see META-INF/licenses/netty-codec-marshalling-4.2.6.Final/LICENSE.txt) +Netty/Codec/Protobuf - Apache-2.0 (see META-INF/licenses/netty-codec-protobuf-4.2.6.Final/LICENSE.txt) +Netty/Codec/Socks - Apache-2.0 (see META-INF/licenses/netty-codec-socks-4.2.6.Final/LICENSE.txt) +Netty/Common - Apache-2.0 (see META-INF/licenses/netty-common-4.2.6.Final/LICENSE.txt) +Netty/Handler - Apache-2.0 (see META-INF/licenses/netty-handler-4.2.6.Final/LICENSE.txt) +Netty/Handler/Proxy - Apache-2.0 (see META-INF/licenses/netty-handler-proxy-4.2.6.Final/LICENSE.txt) +Netty/Resolver - Apache-2.0 (see META-INF/licenses/netty-resolver-4.2.6.Final/LICENSE.txt) +Netty/Transport - Apache-2.0 (see META-INF/licenses/netty-transport-4.2.6.Final/LICENSE.txt) +Netty/Transport/Native/Unix/Common - Apache-2.0 (see META-INF/licenses/netty-transport-native-unix-common-4.2.6.Final/LICENSE.txt) +oshi-core - MIT (see META-INF/licenses/oshi-core-6.9.0/LICENSE.txt) +picocli (https://picocli.info) - Apache-2.0 (see META-INF/licenses/picocli-4.7.7/LICENSE.txt) + + +####################################### + +(36 of 38) +Group: org.springframework.boot +Name: spring-boot-starter-log4j2 +Version: 4.0.2 +POM Project URL: https://spring.io/projects/spring-boot + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + +Develocity Gradle Plugin +======================== +Copyright (c) 2025 Gradle Inc. +All rights reserved. + +Use of this software is subject to the Develocity Software Agreement +located at https://gradle.com/help/legal-terms-of-use + + + +Develocity Gradle Plugin +======================== +Copyright (c) 2025 Gradle Inc. +All rights reserved. + +Use of this software is subject to the Develocity Software Agreement +located at https://gradle.com/help/legal-terms-of-use + +This artifact includes parts of the following open source libraries. + +Apache Commons Codec (https://commons.apache.org/proper/commons-codec/) - Apache-2.0 (see META-INF/licenses/commons-codec-1.19.0/LICENSE.txt) +Apache Commons Compress (https://commons.apache.org/proper/commons-compress/) - Apache-2.0 (see META-INF/licenses/commons-compress-1.28.0/LICENSE.txt) +Apache Commons IO (https://commons.apache.org/proper/commons-io/) - Apache-2.0 (see META-INF/licenses/commons-io-2.20.0/LICENSE.txt) +Apache Commons Lang (https://commons.apache.org/proper/commons-lang/) - Apache-2.0 (see META-INF/licenses/commons-lang3-3.18.0/LICENSE.txt) +Apache Commons Logging (https://commons.apache.org/proper/commons-logging/) - Apache-2.0 (see META-INF/licenses/commons-logging-1.3.5/LICENSE.txt) +Apache HttpClient (http://hc.apache.org/httpcomponents-client-ga) - Apache-2.0 (see META-INF/licenses/httpclient-4.5.14/LICENSE.txt) +Apache HttpCore (http://hc.apache.org/httpcomponents-core-ga) - Apache-2.0 (see META-INF/licenses/httpcore-4.4.16/LICENSE.txt) +asm (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-9.9/LICENSE.txt) +asm-commons (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-commons-9.9/LICENSE.txt) +asm-tree (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-tree-9.9/LICENSE.txt) +error-prone annotations - Apache-2.0 (see META-INF/licenses/error_prone_annotations-2.36.0/LICENSE.txt) +Failsafe - Apache-2.0 (see META-INF/licenses/failsafe-3.3.2/LICENSE.txt) +FindBugs-jsr305 (http://findbugs.sourceforge.net/) - Apache-2.0 (see META-INF/licenses/jsr305-3.0.2/LICENSE.txt) +Guava InternalFutureFailureAccess and InternalFutures - Apache-2.0 (see META-INF/licenses/failureaccess-1.0.3/LICENSE.txt) +Guava ListenableFuture only - Apache-2.0 (see META-INF/licenses/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava/LICENSE.txt) +J2ObjC Annotations (https://github.com/google/j2objc/) - Apache-2.0 (see META-INF/licenses/j2objc-annotations-3.1/LICENSE.txt) +Jackson dataformat: Smile (https://github.com/FasterXML/jackson-dataformats-binary) - Apache-2.0 (see META-INF/licenses/jackson-dataformat-smile-2.20.0/LICENSE.txt) +Jackson datatype: jdk8 - Apache-2.0 (see META-INF/licenses/jackson-datatype-jdk8-2.20.0/LICENSE.txt) +Jackson datatype: JSR310 - Apache-2.0 (see META-INF/licenses/jackson-datatype-jsr310-2.20.0/LICENSE.txt) +Jackson-annotations (https://github.com/FasterXML/jackson) - Apache-2.0 (see META-INF/licenses/jackson-annotations-2.20/LICENSE.txt) +Jackson-core (https://github.com/FasterXML/jackson-core) - Apache-2.0 (see META-INF/licenses/jackson-core-2.20.0/LICENSE.txt) +jackson-databind (https://github.com/FasterXML/jackson) - Apache-2.0 (see META-INF/licenses/jackson-databind-2.20.0/LICENSE.txt) +Jackson-module-parameter-names - Apache-2.0 (see META-INF/licenses/jackson-module-parameter-names-2.20.0/LICENSE.txt) +JaCoCo :: Core - EPL-2.0 (see META-INF/licenses/org.jacoco.core-0.8.13/LICENSE.txt) +Java Native Access (https://github.com/java-native-access/jna) - Apache-2.0, LGPL-2.1 (see META-INF/licenses/jna-5.16.0/LICENSE.txt) +Java Native Access Platform (https://github.com/java-native-access/jna) - Apache-2.0, LGPL-2.1 (see META-INF/licenses/jna-platform-5.16.0/LICENSE.txt) +JSpecify annotations (http://jspecify.org/) - Apache-2.0 (see META-INF/licenses/jspecify-1.0.0/LICENSE.txt) +Kryo ${kryo.major.version} - BSD-3-Clause (see META-INF/licenses/kryo5-5.6.2/LICENSE.txt) +Netty/Buffer - Apache-2.0 (see META-INF/licenses/netty-buffer-4.2.6.Final/LICENSE.txt) +Netty/Codec - Apache-2.0 (see META-INF/licenses/netty-codec-4.2.6.Final/LICENSE.txt) +Netty/Codec/Base - Apache-2.0 (see META-INF/licenses/netty-codec-base-4.2.6.Final/LICENSE.txt) +Netty/Codec/Compression - Apache-2.0 (see META-INF/licenses/netty-codec-compression-4.2.6.Final/LICENSE.txt) +Netty/Codec/HTTP - Apache-2.0 (see META-INF/licenses/netty-codec-http-4.2.6.Final/LICENSE.txt) +Netty/Codec/Marshalling - Apache-2.0 (see META-INF/licenses/netty-codec-marshalling-4.2.6.Final/LICENSE.txt) +Netty/Codec/Protobuf - Apache-2.0 (see META-INF/licenses/netty-codec-protobuf-4.2.6.Final/LICENSE.txt) +Netty/Codec/Socks - Apache-2.0 (see META-INF/licenses/netty-codec-socks-4.2.6.Final/LICENSE.txt) +Netty/Common - Apache-2.0 (see META-INF/licenses/netty-common-4.2.6.Final/LICENSE.txt) +Netty/Handler - Apache-2.0 (see META-INF/licenses/netty-handler-4.2.6.Final/LICENSE.txt) +Netty/Handler/Proxy - Apache-2.0 (see META-INF/licenses/netty-handler-proxy-4.2.6.Final/LICENSE.txt) +Netty/Resolver - Apache-2.0 (see META-INF/licenses/netty-resolver-4.2.6.Final/LICENSE.txt) +Netty/Transport - Apache-2.0 (see META-INF/licenses/netty-transport-4.2.6.Final/LICENSE.txt) +Netty/Transport/Native/Unix/Common - Apache-2.0 (see META-INF/licenses/netty-transport-native-unix-common-4.2.6.Final/LICENSE.txt) +oshi-core - MIT (see META-INF/licenses/oshi-core-6.9.0/LICENSE.txt) +picocli (https://picocli.info) - Apache-2.0 (see META-INF/licenses/picocli-4.7.7/LICENSE.txt) + + +####################################### + +(37 of 38) +Group: org.springframework.boot +Name: spring-boot-starter-web +Version: 4.0.2 +POM Project URL: https://spring.io/projects/spring-boot + + +POM License: Apache License, Version 2.0 + - https://www.apache.org/licenses/LICENSE-2.0 + + +Embedded license: + +Develocity Gradle Plugin +======================== +Copyright (c) 2025 Gradle Inc. +All rights reserved. + +Use of this software is subject to the Develocity Software Agreement +located at https://gradle.com/help/legal-terms-of-use + + + +Develocity Gradle Plugin +======================== +Copyright (c) 2025 Gradle Inc. +All rights reserved. + +Use of this software is subject to the Develocity Software Agreement +located at https://gradle.com/help/legal-terms-of-use + +This artifact includes parts of the following open source libraries. + +Apache Commons Codec (https://commons.apache.org/proper/commons-codec/) - Apache-2.0 (see META-INF/licenses/commons-codec-1.19.0/LICENSE.txt) +Apache Commons Compress (https://commons.apache.org/proper/commons-compress/) - Apache-2.0 (see META-INF/licenses/commons-compress-1.28.0/LICENSE.txt) +Apache Commons IO (https://commons.apache.org/proper/commons-io/) - Apache-2.0 (see META-INF/licenses/commons-io-2.20.0/LICENSE.txt) +Apache Commons Lang (https://commons.apache.org/proper/commons-lang/) - Apache-2.0 (see META-INF/licenses/commons-lang3-3.18.0/LICENSE.txt) +Apache Commons Logging (https://commons.apache.org/proper/commons-logging/) - Apache-2.0 (see META-INF/licenses/commons-logging-1.3.5/LICENSE.txt) +Apache HttpClient (http://hc.apache.org/httpcomponents-client-ga) - Apache-2.0 (see META-INF/licenses/httpclient-4.5.14/LICENSE.txt) +Apache HttpCore (http://hc.apache.org/httpcomponents-core-ga) - Apache-2.0 (see META-INF/licenses/httpcore-4.4.16/LICENSE.txt) +asm (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-9.9/LICENSE.txt) +asm-commons (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-commons-9.9/LICENSE.txt) +asm-tree (http://asm.ow2.io/) - BSD-3-Clause (see META-INF/licenses/asm-tree-9.9/LICENSE.txt) +error-prone annotations - Apache-2.0 (see META-INF/licenses/error_prone_annotations-2.36.0/LICENSE.txt) +Failsafe - Apache-2.0 (see META-INF/licenses/failsafe-3.3.2/LICENSE.txt) +FindBugs-jsr305 (http://findbugs.sourceforge.net/) - Apache-2.0 (see META-INF/licenses/jsr305-3.0.2/LICENSE.txt) +Guava InternalFutureFailureAccess and InternalFutures - Apache-2.0 (see META-INF/licenses/failureaccess-1.0.3/LICENSE.txt) +Guava ListenableFuture only - Apache-2.0 (see META-INF/licenses/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava/LICENSE.txt) +J2ObjC Annotations (https://github.com/google/j2objc/) - Apache-2.0 (see META-INF/licenses/j2objc-annotations-3.1/LICENSE.txt) +Jackson dataformat: Smile (https://github.com/FasterXML/jackson-dataformats-binary) - Apache-2.0 (see META-INF/licenses/jackson-dataformat-smile-2.20.0/LICENSE.txt) +Jackson datatype: jdk8 - Apache-2.0 (see META-INF/licenses/jackson-datatype-jdk8-2.20.0/LICENSE.txt) +Jackson datatype: JSR310 - Apache-2.0 (see META-INF/licenses/jackson-datatype-jsr310-2.20.0/LICENSE.txt) +Jackson-annotations (https://github.com/FasterXML/jackson) - Apache-2.0 (see META-INF/licenses/jackson-annotations-2.20/LICENSE.txt) +Jackson-core (https://github.com/FasterXML/jackson-core) - Apache-2.0 (see META-INF/licenses/jackson-core-2.20.0/LICENSE.txt) +jackson-databind (https://github.com/FasterXML/jackson) - Apache-2.0 (see META-INF/licenses/jackson-databind-2.20.0/LICENSE.txt) +Jackson-module-parameter-names - Apache-2.0 (see META-INF/licenses/jackson-module-parameter-names-2.20.0/LICENSE.txt) +JaCoCo :: Core - EPL-2.0 (see META-INF/licenses/org.jacoco.core-0.8.13/LICENSE.txt) +Java Native Access (https://github.com/java-native-access/jna) - Apache-2.0, LGPL-2.1 (see META-INF/licenses/jna-5.16.0/LICENSE.txt) +Java Native Access Platform (https://github.com/java-native-access/jna) - Apache-2.0, LGPL-2.1 (see META-INF/licenses/jna-platform-5.16.0/LICENSE.txt) +JSpecify annotations (http://jspecify.org/) - Apache-2.0 (see META-INF/licenses/jspecify-1.0.0/LICENSE.txt) +Kryo ${kryo.major.version} - BSD-3-Clause (see META-INF/licenses/kryo5-5.6.2/LICENSE.txt) +Netty/Buffer - Apache-2.0 (see META-INF/licenses/netty-buffer-4.2.6.Final/LICENSE.txt) +Netty/Codec - Apache-2.0 (see META-INF/licenses/netty-codec-4.2.6.Final/LICENSE.txt) +Netty/Codec/Base - Apache-2.0 (see META-INF/licenses/netty-codec-base-4.2.6.Final/LICENSE.txt) +Netty/Codec/Compression - Apache-2.0 (see META-INF/licenses/netty-codec-compression-4.2.6.Final/LICENSE.txt) +Netty/Codec/HTTP - Apache-2.0 (see META-INF/licenses/netty-codec-http-4.2.6.Final/LICENSE.txt) +Netty/Codec/Marshalling - Apache-2.0 (see META-INF/licenses/netty-codec-marshalling-4.2.6.Final/LICENSE.txt) +Netty/Codec/Protobuf - Apache-2.0 (see META-INF/licenses/netty-codec-protobuf-4.2.6.Final/LICENSE.txt) +Netty/Codec/Socks - Apache-2.0 (see META-INF/licenses/netty-codec-socks-4.2.6.Final/LICENSE.txt) +Netty/Common - Apache-2.0 (see META-INF/licenses/netty-common-4.2.6.Final/LICENSE.txt) +Netty/Handler - Apache-2.0 (see META-INF/licenses/netty-handler-4.2.6.Final/LICENSE.txt) +Netty/Handler/Proxy - Apache-2.0 (see META-INF/licenses/netty-handler-proxy-4.2.6.Final/LICENSE.txt) +Netty/Resolver - Apache-2.0 (see META-INF/licenses/netty-resolver-4.2.6.Final/LICENSE.txt) +Netty/Transport - Apache-2.0 (see META-INF/licenses/netty-transport-4.2.6.Final/LICENSE.txt) +Netty/Transport/Native/Unix/Common - Apache-2.0 (see META-INF/licenses/netty-transport-native-unix-common-4.2.6.Final/LICENSE.txt) +oshi-core - MIT (see META-INF/licenses/oshi-core-6.9.0/LICENSE.txt) +picocli (https://picocli.info) - Apache-2.0 (see META-INF/licenses/picocli-4.7.7/LICENSE.txt) + + +####################################### + +(38 of 38) +Group: tokyo.northside +Name: tipoftheday +Version: 0.6.0 +POM Project URL: https://codeberg.org/miurahr/tipoftheday + + +POM License: GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1 + - https://www.gnu.org/licenses/lgpl-2.1 + + +POM license(s): + + +License: GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1 +URL: https://www.gnu.org/licenses/lgpl-2.1 + + +####################################### + From 01acd3ed5de43b5db8afb6a2def8af4f8cef4ada Mon Sep 17 00:00:00 2001 From: Griefed Date: Wed, 18 Feb 2026 19:31:44 +0100 Subject: [PATCH 03/34] ci: Always build AppImage in docker container Signed-off-by: Griefed --- misc/build-appimage.sh | 99 +++++++++++++++++++++++------------------- 1 file changed, 54 insertions(+), 45 deletions(-) diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index d37fe7a93..95fb46d81 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -397,64 +397,73 @@ chmod +x "$APP_DIR/AppRun" echo -e "${YELLOW}Creating AppImage for ${APPIMAGE_ARCH} (this can take a while)...${NC}" rm -f ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage -if [ "$MACHINE" = "Linux" ]; then - ARCH=$APPIMAGE_ARCH $APPIMAGETOOL "$APP_DIR" "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" -elif [ "$MACHINE" = "Mac" ]; then - echo -e "${YELLOW}Using Docker for AppImage-Build...${NC}" +# Prüfe ob Docker verfügbar ist +if ! command -v docker &> /dev/null; then + echo -e "${RED}Docker not found!${NC}" + echo -e "${YELLOW}Docker is required to build AppImages.${NC}" + echo -e "${YELLOW}Please install Docker: https://docs.docker.com/get-docker/${NC}" + exit 1 +fi - if [ "$BUILD_ARCH" = "aarch64" ]; then - DOCKER_PLATFORM="linux/arm64" - APPIMAGETOOL_ARCH="aarch64" - else - DOCKER_PLATFORM="linux/amd64" - APPIMAGETOOL_ARCH="x86_64" - fi +echo -e "${YELLOW}Using Docker for AppImage-Build...${NC}" - cat > Dockerfile.appimage << DOCKERFILE_EOF +if [ "$BUILD_ARCH" = "aarch64" ]; then + DOCKER_PLATFORM="linux/arm64" + APPIMAGETOOL_ARCH="aarch64" + echo -e "${YELLOW}Building for aarch64 (ARM64)...${NC}" +else + DOCKER_PLATFORM="linux/amd64" + APPIMAGETOOL_ARCH="x86_64" + echo -e "${YELLOW}Building for x86_64 (AMD64)...${NC}" +fi + +cat > Dockerfile.appimage << DOCKERFILE_EOF FROM --platform=${DOCKER_PLATFORM} ubuntu:22.04 RUN apt-get update && apt-get install -y \ - wget file libglib2.0-0 libfuse2 libcairo2 \ - libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils \ - && rm -rf /var/lib/apt/lists/* + wget file libglib2.0-0 libfuse2 libcairo2 \ + libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils \ + && rm -rf /var/lib/apt/lists/* RUN wget -O /usr/local/bin/appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${APPIMAGETOOL_ARCH}.AppImage && \ - chmod +x /usr/local/bin/appimagetool && \ - cd /usr/local/bin && \ - ./appimagetool --appimage-extract && \ - mv squashfs-root appimagetool-dir && \ - rm appimagetool && \ - ln -s /usr/local/bin/appimagetool-dir/AppRun /usr/local/bin/appimagetool + chmod +x /usr/local/bin/appimagetool && \ + cd /usr/local/bin && \ + ./appimagetool --appimage-extract && \ + mv squashfs-root appimagetool-dir && \ + rm appimagetool && \ + ln -s /usr/local/bin/appimagetool-dir/AppRun /usr/local/bin/appimagetool WORKDIR /work DOCKERFILE_EOF - DOCKER_IMAGE_NAME="appimage-builder-${BUILD_ARCH}" - if ! docker images | grep -q "$DOCKER_IMAGE_NAME"; then - echo -e "${YELLOW}Building Docker-Image for AppImage-creation (${BUILD_ARCH})...${NC}" - docker build --platform=${DOCKER_PLATFORM} -t $DOCKER_IMAGE_NAME -f Dockerfile.appimage . - fi +DOCKER_IMAGE_NAME="appimage-builder-${BUILD_ARCH}" +if ! docker images | grep -q "$DOCKER_IMAGE_NAME"; then + echo -e "${YELLOW}Building Docker image for AppImage creation (${BUILD_ARCH})...${NC}" + docker build --platform=${DOCKER_PLATFORM} -t $DOCKER_IMAGE_NAME -f Dockerfile.appimage . +else + echo -e "${GREEN}Using cached Docker image: $DOCKER_IMAGE_NAME${NC}" +fi - echo -e "${YELLOW}Packing APP_DIR for Docker-Transfer...${NC}" - echo -e "${YELLOW}APP_DIR contents before packaging:${NC}" - ls -lh "$APP_DIR/usr/lib/" | head -5 +echo -e "${YELLOW}Packing APP_DIR for Docker-Transfer...${NC}" +echo -e "${YELLOW}APP_DIR contents before packaging:${NC}" +ls -lh "$APP_DIR/usr/lib/" | head -5 - tar -czf "${APP_DIR}.tar.gz" "$APP_DIR" - echo -e "${GREEN}Archive created: $(du -sh "${APP_DIR}.tar.gz" | cut -f1)${NC}" +tar -czf "${APP_DIR}.tar.gz" "$APP_DIR" +echo -e "${GREEN}Archive created: $(du -sh "${APP_DIR}.tar.gz" | cut -f1)${NC}" - echo -e "${YELLOW}Checking if JDK is present in archive...${NC}" - if tar -tzf "${APP_DIR}.tar.gz" | grep -q "jdk/bin/java"; then - echo -e "${GREEN}✓ JDK is present in tar-archive${NC}" - else - echo -e "${RED}✗ ERROR: JDK is NOT present in tar-archive!${NC}" - exit 1 - fi +echo -e "${YELLOW}Checking if JDK is present in archive...${NC}" +if tar -tzf "${APP_DIR}.tar.gz" | grep -q "jdk/bin/java"; then + echo -e "${GREEN}✓ JDK is present in tar-archive${NC}" +else + echo -e "${RED}✗ ERROR: JDK is NOT present in tar-archive!${NC}" + exit 1 +fi - docker run --rm --platform=${DOCKER_PLATFORM} \ - -v "$(pwd)/${APP_DIR}.tar.gz:/work/appdir.tar.gz" \ - -v "$(pwd):/output" \ - $DOCKER_IMAGE_NAME \ - sh -c "cd /work && tar -xzf appdir.tar.gz && cd /output && ARCH=${APPIMAGE_ARCH} appimagetool /work/${APP_DIR} ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" +echo -e "${YELLOW}Running appimagetool in Docker container...${NC}" +docker run --rm --platform=${DOCKER_PLATFORM} \ + -v "$(pwd)/${APP_DIR}.tar.gz:/work/appdir.tar.gz" \ + -v "$(pwd):/output" \ + $DOCKER_IMAGE_NAME \ + sh -c "cd /work && tar -xzf appdir.tar.gz && cd /output && ARCH=${APPIMAGE_ARCH} appimagetool /work/${APP_DIR} ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" - rm -f "${APP_DIR}.tar.gz" -fi +rm -f "${APP_DIR}.tar.gz" echo -e "${YELLOW}Verifying AppImage-Contents...${NC}" if [ -f "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" ]; then From b7aedee7a985b28c09623cd08eefede88c039e83 Mon Sep 17 00:00:00 2001 From: Griefed Date: Wed, 18 Feb 2026 19:40:43 +0100 Subject: [PATCH 04/34] ci: Remove docker check in script Signed-off-by: Griefed --- misc/build-appimage.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index 95fb46d81..f461f0165 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -397,16 +397,6 @@ chmod +x "$APP_DIR/AppRun" echo -e "${YELLOW}Creating AppImage for ${APPIMAGE_ARCH} (this can take a while)...${NC}" rm -f ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage -# Prüfe ob Docker verfügbar ist -if ! command -v docker &> /dev/null; then - echo -e "${RED}Docker not found!${NC}" - echo -e "${YELLOW}Docker is required to build AppImages.${NC}" - echo -e "${YELLOW}Please install Docker: https://docs.docker.com/get-docker/${NC}" - exit 1 -fi - -echo -e "${YELLOW}Using Docker for AppImage-Build...${NC}" - if [ "$BUILD_ARCH" = "aarch64" ]; then DOCKER_PLATFORM="linux/arm64" APPIMAGETOOL_ARCH="aarch64" From be7532ad9ba4075e70e78099c5b36ad08865c983 Mon Sep 17 00:00:00 2001 From: Griefed Date: Wed, 18 Feb 2026 20:04:30 +0100 Subject: [PATCH 05/34] ci: Correct arch-determination Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index fa645342a..0b8526efa 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -92,7 +92,7 @@ jobs: platforms: linux/arm64 - name: Set up QEMU (for ARM64) - if: matrix.arch == 'aarch64' + if: matrix.arch == 'x86_64' uses: docker/setup-qemu-action@v3 with: platforms: linux/amd64 @@ -144,7 +144,6 @@ jobs: misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} " - - name: Verify AppImage run: | APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" From 101750877713b259ffcf7e371cb55bd668c28faf Mon Sep 17 00:00:00 2001 From: Griefed Date: Wed, 18 Feb 2026 20:19:52 +0100 Subject: [PATCH 06/34] ci: Setup docker buildx Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 0b8526efa..7d865fbde 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -97,6 +97,9 @@ jobs: with: platforms: linux/amd64 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Cache JDK download uses: actions/cache@v4 with: From bbbe7f4d17d9280d2bdbae538f47b501144b4cd2 Mon Sep 17 00:00:00 2001 From: Griefed Date: Wed, 18 Feb 2026 20:47:58 +0100 Subject: [PATCH 07/34] ci: build-appimage-script takes care of docker, no need to double down Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 40 ++++++++-------------------------- 1 file changed, 9 insertions(+), 31 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 7d865fbde..a10633f00 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -112,40 +112,18 @@ jobs: name: gradle-jars path: . + - name: Verify Docker availability + run: | + echo "Checking Docker..." + which docker || echo "Docker not in PATH" + docker --version || echo "Docker command failed" + docker info || echo "Docker daemon not running" + - name: Make build script executable run: chmod +x misc/build-appimage.sh - - name: Build AppImage (aarch64 - QEMU via Docker) - if: matrix.arch == 'x86_64' - run: | - docker run --rm --platform linux/amd64 \ - -v "$(pwd):/workspace" \ - -w /workspace \ - ubuntu:22.04 \ - bash -c " - apt-get update && \ - apt-get install -y wget curl file tar gzip \ - libfuse2 libglib2.0-0 libcairo2 libpango-1.0-0 \ - libgdk-pixbuf2.0-0 desktop-file-utils && \ - cd /workspace && \ - misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} - " - - - name: Build AppImage (aarch64 - QEMU via Docker) - if: matrix.arch == 'aarch64' - run: | - docker run --rm --platform linux/arm64 \ - -v "$(pwd):/workspace" \ - -w /workspace \ - ubuntu:22.04 \ - bash -c " - apt-get update && \ - apt-get install -y wget curl file tar gzip \ - libfuse2 libglib2.0-0 libcairo2 libpango-1.0-0 \ - libgdk-pixbuf2.0-0 desktop-file-utils && \ - cd /workspace && \ - misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} - " + - name: Build AppImage + run: misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} - name: Verify AppImage run: | From c3fe4f634cdc0d81ea53ec0db6ac9aeb56733919 Mon Sep 17 00:00:00 2001 From: Griefed Date: Wed, 18 Feb 2026 21:10:49 +0100 Subject: [PATCH 08/34] ci: Allow overwrite of BUILD_ARCH Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 2 +- misc/build-appimage.sh | 24 +++++++++++++----------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index a10633f00..7979212d4 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -123,7 +123,7 @@ jobs: run: chmod +x misc/build-appimage.sh - name: Build AppImage - run: misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} + run: BUILD_ARCH=${{ matrix.arch }} misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} - name: Verify AppImage run: | diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index f461f0165..bbc8a69e2 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -40,16 +40,18 @@ case "${OS}" in *) MACHINE="UNKNOWN:${OS}" esac -ARCH="$(uname -m)" -case "${ARCH}" in - x86_64) BUILD_ARCH=x86_64;; - aarch64) BUILD_ARCH=aarch64;; # Linux ARM64 - arm64) BUILD_ARCH=aarch64;; # macOS ARM64 - *) - echo -e "${RED}Unknown architecture: ${ARCH}${NC}" - exit 1 - ;; -esac +if [[ -z "$BUILD_ARCH" ]]; then + ARCH="$(uname -m)" + case "${ARCH}" in + x86_64) BUILD_ARCH=x86_64;; + aarch64) BUILD_ARCH=aarch64;; # Linux ARM64 + arm64) BUILD_ARCH=aarch64;; # macOS ARM64 + *) + echo -e "${RED}Unknown architecture: ${ARCH}${NC}" + exit 1 + ;; + esac +fi echo -e "${GREEN}Detected OS: $MACHINE${NC}" echo -e "${GREEN}Detected arch: $BUILD_ARCH${NC}" @@ -397,7 +399,7 @@ chmod +x "$APP_DIR/AppRun" echo -e "${YELLOW}Creating AppImage for ${APPIMAGE_ARCH} (this can take a while)...${NC}" rm -f ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage -if [ "$BUILD_ARCH" = "aarch64" ]; then +if [[ "$BUILD_ARCH" = "aarch64" || "$BUILD_ARCH" = "arm64" ]]; then DOCKER_PLATFORM="linux/arm64" APPIMAGETOOL_ARCH="aarch64" echo -e "${YELLOW}Building for aarch64 (ARM64)...${NC}" From 0c9bee0d2f591c928a4c06c3ab949a6b2d18afb8 Mon Sep 17 00:00:00 2001 From: Griefed Date: Wed, 18 Feb 2026 21:39:35 +0100 Subject: [PATCH 09/34] ci: Try with buildx-platforms spec Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 7979212d4..0712964b9 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -85,20 +85,16 @@ jobs: with: fetch-depth: 0 - - name: Set up QEMU (for ARM64) - if: matrix.arch == 'aarch64' - uses: docker/setup-qemu-action@v3 - with: - platforms: linux/arm64 - - - name: Set up QEMU (for ARM64) + - name: Set up QEMU if: matrix.arch == 'x86_64' uses: docker/setup-qemu-action@v3 with: - platforms: linux/amd64 + platforms: amd64,arm64 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + platforms: linux/amd64,linux/arm64 - name: Cache JDK download uses: actions/cache@v4 From 592443a019522d986216a392ec748749b3814987 Mon Sep 17 00:00:00 2001 From: Griefed Date: Thu, 19 Feb 2026 19:39:35 +0100 Subject: [PATCH 10/34] ci: Use buildx in build-appimage-script Signed-off-by: Griefed --- misc/build-appimage.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index bbc8a69e2..769b2c3e7 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -412,9 +412,9 @@ fi cat > Dockerfile.appimage << DOCKERFILE_EOF FROM --platform=${DOCKER_PLATFORM} ubuntu:22.04 RUN apt-get update && apt-get install -y \ - wget file libglib2.0-0 libfuse2 libcairo2 \ - libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils \ - && rm -rf /var/lib/apt/lists/* + wget file libglib2.0-0 libfuse2 libcairo2 \ + libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils \ + && rm -rf /var/lib/apt/lists/* RUN wget -O /usr/local/bin/appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${APPIMAGETOOL_ARCH}.AppImage && \ chmod +x /usr/local/bin/appimagetool && \ cd /usr/local/bin && \ @@ -427,8 +427,14 @@ DOCKERFILE_EOF DOCKER_IMAGE_NAME="appimage-builder-${BUILD_ARCH}" if ! docker images | grep -q "$DOCKER_IMAGE_NAME"; then - echo -e "${YELLOW}Building Docker image for AppImage creation (${BUILD_ARCH})...${NC}" - docker build --platform=${DOCKER_PLATFORM} -t $DOCKER_IMAGE_NAME -f Dockerfile.appimage . + echo -e "${GREEN}Building Docker image for AppImage creation (${BUILD_ARCH})...${NC}" + docker buildx build \ + --platform=${DOCKER_PLATFORM} \ + --load \ + -t $DOCKER_IMAGE_NAME \ + -f Dockerfile.appimage \ + . + docker buildx build --platform=${DOCKER_PLATFORM} -t $DOCKER_IMAGE_NAME -f Dockerfile.appimage . else echo -e "${GREEN}Using cached Docker image: $DOCKER_IMAGE_NAME${NC}" fi From 8fc8aa3bba72e5459f762831ad3d79999df5cfb9 Mon Sep 17 00:00:00 2001 From: Griefed Date: Thu, 19 Feb 2026 20:19:17 +0100 Subject: [PATCH 11/34] improv: Catch Prism Launcher files and detect info accordingly Fixes https://github.com/Griefed/ServerPackCreator/issues/1003 Signed-off-by: Griefed --- .../main/i18n/Translations_en_GB.properties | 2 ++ .../main/i18n/Translations_pt_BR.properties | 4 +++ .../main/i18n/Translations_zn_GB.properties | 4 +++ .../api/config/ConfigurationHandler.kt | 32 +++++++++++++++---- .../app/gui/window/configs/ConfigEditor.kt | 16 +++++++++- 5 files changed, 50 insertions(+), 8 deletions(-) diff --git a/serverpackcreator-api/src/main/i18n/Translations_en_GB.properties b/serverpackcreator-api/src/main/i18n/Translations_en_GB.properties index 531c4750e..ceff2e6fc 100644 --- a/serverpackcreator-api/src/main/i18n/Translations_en_GB.properties +++ b/serverpackcreator-api/src/main/i18n/Translations_en_GB.properties @@ -251,6 +251,8 @@ createserverpack.gui.modpack.scan.directories= Directories and files: {0} createserverpack.gui.modpack.scan.message=Updated server pack configuration with:\n{0} createserverpack.gui.modpack.select.gdlauncher.title=Are you using GDLauncher? Is this a GDLauncher modpack? createserverpack.gui.modpack.select.gdlauncher.message=GDLauncher keeps the interesting files in a subfolder called instance. Would you like to use that directory instead? +createserverpack.gui.modpack.select.prismlauncher.title=Are you using Prism Launcher? Is this a Prism Launcher modpack? +createserverpack.gui.modpack.select.prismlauncher.message=Prism Launcher keeps the interesting files in a subfolder called minecraft. Would you like to use that directory instead? createserverpack.gui.config.load.error=Error loading configuration file! createserverpack.gui.config.load.error.message=Couldn''t load configuration file. Cause: createserverpack.gui.close.unsaved.title=Unsaved changes for {0} diff --git a/serverpackcreator-api/src/main/i18n/Translations_pt_BR.properties b/serverpackcreator-api/src/main/i18n/Translations_pt_BR.properties index d52c84ef2..1df66f6e8 100644 --- a/serverpackcreator-api/src/main/i18n/Translations_pt_BR.properties +++ b/serverpackcreator-api/src/main/i18n/Translations_pt_BR.properties @@ -248,6 +248,10 @@ createserverpack.gui.modpack.scan.modloader.version=Versão do Modloader: {0} createserverpack.gui.modpack.scan.icon=Ícone do servidor: {0} createserverpack.gui.modpack.scan.directories=Diretórios e arquivos: {0} createserverpack.gui.modpack.scan.message=Configuração do pacote do servidor atualizada com:\n{0} +createserverpack.gui.modpack.select.gdlauncher.title=Are you using GDLauncher? Is this a GDLauncher modpack? +createserverpack.gui.modpack.select.gdlauncher.message=GDLauncher keeps the interesting files in a subfolder called instance. Would you like to use that directory instead? +createserverpack.gui.modpack.select.prismlauncher.title=Are you using Prism Launcher? Is this a Prism Launcher modpack? +createserverpack.gui.modpack.select.prismlauncher.message=Prism Launcher keeps the interesting files in a subfolder called minecraft. Would you like to use that directory instead? createserverpack.gui.config.load.error=Erro ao carregar arquivo de configuração! createserverpack.gui.config.load.error.message=Não foi possível carregar o arquivo de configuração. Causa: createserverpack.gui.close.unsaved.title=Alterações não salvas para {0} diff --git a/serverpackcreator-api/src/main/i18n/Translations_zn_GB.properties b/serverpackcreator-api/src/main/i18n/Translations_zn_GB.properties index 68895a19e..c8c1e0729 100644 --- a/serverpackcreator-api/src/main/i18n/Translations_zn_GB.properties +++ b/serverpackcreator-api/src/main/i18n/Translations_zn_GB.properties @@ -498,6 +498,10 @@ createserverpack.gui.modpack.select.gdlauncher.title=您在使用 GDLauncher 吗 createserverpack.gui.modpack.select.gdlauncher.message=GDLauncher 将重要文件保留在一个名为实例的子文件夹中。您希望使用那个目录吗? +createserverpack.gui.modpack.select.prismlauncher.title=Are you using Prism Launcher? Is this a Prism Launcher modpack? + +createserverpack.gui.modpack.select.prismlauncher.message=Prism Launcher keeps the interesting files in a subfolder called minecraft. Would you like to use that directory instead? + createserverpack.gui.config.load.error=加载配置文件时出错! createserverpack.gui.config.load.error.message=无法加载配置文件。原因: diff --git a/serverpackcreator-api/src/main/kotlin/de/griefed/serverpackcreator/api/config/ConfigurationHandler.kt b/serverpackcreator-api/src/main/kotlin/de/griefed/serverpackcreator/api/config/ConfigurationHandler.kt index 830108e16..d8283b871 100644 --- a/serverpackcreator-api/src/main/kotlin/de/griefed/serverpackcreator/api/config/ConfigurationHandler.kt +++ b/serverpackcreator-api/src/main/kotlin/de/griefed/serverpackcreator/api/config/ConfigurationHandler.kt @@ -866,8 +866,8 @@ class ConfigurationHandler( val curseMinecraftInstance = File(destination, "minecraftinstance.json") val atLauncherInstance = File(destination, "instance.json") val gdLauncherInstance = File(File(destination).parentFile,"instance.json") - val mmcPack = File(destination, "mmc-pack.json") - val mmcInstance = File(destination, "instance.cfg") + val mmcPrismPack = File(File(destination).parentFile, "mmc-pack.json") + val mmcPrismInstance = File(File(destination).parentFile, "instance.cfg") when { curseMinecraftInstance.exists() -> { // Check minecraftinstance.json usually created by Overwolf's CurseForge launcher. @@ -921,17 +921,35 @@ class ConfigurationHandler( } } - mmcPack.exists() -> { - // Check mmc-pack.json usually created by MultiMC. + mmcPrismPack.exists() -> { + // Check mmc-pack.json usually created by MultiMC or Prism Launcher try { - updateConfigModelFromMMCPack(packConfig, mmcPack) + updateConfigModelFromMMCPack(packConfig, mmcPrismPack) } catch (ex: IOException) { log.error("Error parsing mmc-pack.json from ZIP-file.", ex) configCheck.modpackErrors.add(Translations.configuration_log_error_zip_mmcpack.toString()) } try { - if (mmcInstance.exists()) { - packName = updateDestinationFromInstanceCfg(mmcInstance) + if (mmcPrismInstance.exists()) { + packName = updateDestinationFromInstanceCfg(mmcPrismInstance) + packConfig.name = packName + } + } catch (ex: IOException) { + log.error("Couldn't read instance.cfg.", ex) + } + } + + mmcPrismPack.exists() -> { + // Check mmc-pack.json usually created by MultiMC or Prism Launcher + try { + updateConfigModelFromMMCPack(packConfig, mmcPrismPack) + } catch (ex: IOException) { + log.error("Error parsing mmc-pack.json from ZIP-file.", ex) + configCheck.modpackErrors.add(Translations.configuration_log_error_zip_mmcpack.toString()) + } + try { + if (mmcPrismInstance.exists()) { + packName = updateDestinationFromInstanceCfg(mmcPrismInstance) packConfig.name = packName } } catch (ex: IOException) { diff --git a/serverpackcreator-app/src/main/kotlin/de/griefed/serverpackcreator/app/gui/window/configs/ConfigEditor.kt b/serverpackcreator-app/src/main/kotlin/de/griefed/serverpackcreator/app/gui/window/configs/ConfigEditor.kt index e695586dd..7558e883a 100644 --- a/serverpackcreator-app/src/main/kotlin/de/griefed/serverpackcreator/app/gui/window/configs/ConfigEditor.kt +++ b/serverpackcreator-app/src/main/kotlin/de/griefed/serverpackcreator/app/gui/window/configs/ConfigEditor.kt @@ -332,7 +332,21 @@ class ConfigEditor( guiProps.infoIcon ) == 0 ) { - setModpackDirectory(File(chooser.selectedFile,"instance").path) + setModpackDirectory(File(chooser.selectedFile, "instance").path) + } else { + setModpackDirectory(chooser.selectedFile.path) + } + } else if (fileNames.contains("minecraft") && fileNames.contains("mmc-pack.json")) { + if (JOptionPane.showConfirmDialog( + panel.parent, + Translations.createserverpack_gui_modpack_select_prismlauncher_message.toString(), + Translations.createserverpack_gui_modpack_select_prismlauncher_title.toString(), + JOptionPane.YES_NO_OPTION, + JOptionPane.INFORMATION_MESSAGE, + guiProps.infoIcon + ) == 0 + ) { + setModpackDirectory(File(chooser.selectedFile, "minecraft").path) } else { setModpackDirectory(chooser.selectedFile.path) } From edeee321a32064d91751381a10a0f3647a545709 Mon Sep 17 00:00:00 2001 From: Griefed Date: Thu, 19 Feb 2026 20:48:51 +0100 Subject: [PATCH 12/34] ci: Run all AppImage build via Docker Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 22 +++++-- misc/build-appimage.sh | 112 +++++++++++++++------------------ 2 files changed, 70 insertions(+), 64 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 0712964b9..24bb4da3e 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -85,16 +85,28 @@ jobs: with: fetch-depth: 0 + # Set up QEMU for cross-platform builds - name: Set up QEMU - if: matrix.arch == 'x86_64' uses: docker/setup-qemu-action@v3 with: - platforms: amd64,arm64 + platforms: linux/amd64,linux/arm64 + # Set up Docker Buildx (required for multi-platform builds) - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: - platforms: linux/amd64,linux/arm64 + install: true + + - name: Verify Docker setup + run: | + echo "Docker version:" + docker --version + echo "" + echo "Docker Buildx version:" + docker buildx version + echo "" + echo "Available platforms:" + docker buildx inspect --bootstrap | grep Platforms || true - name: Cache JDK download uses: actions/cache@v4 @@ -119,7 +131,9 @@ jobs: run: chmod +x misc/build-appimage.sh - name: Build AppImage - run: BUILD_ARCH=${{ matrix.arch }} misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} + env: + BUILD_ARCH: ${{ matrix.arch }} + run: misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} - name: Verify AppImage run: | diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index 769b2c3e7..b6690d6f0 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -101,42 +101,13 @@ fi chmod +x ./gradlew -if [ "$MACHINE" = "Linux" ]; then - if ! command -v appimagetool &> /dev/null; then - echo -e "${YELLOW}appimagetool not found. Downloading...${NC}" - - if [ "$BUILD_ARCH" = "x86_64" ]; then - APPIMAGETOOL_URL="https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" - elif [ "$BUILD_ARCH" = "aarch64" ]; then - APPIMAGETOOL_URL="https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-aarch64.AppImage" - fi - - if command -v wget &> /dev/null; then - wget -O appimagetool "$APPIMAGETOOL_URL" - elif command -v curl &> /dev/null; then - curl -L -o appimagetool "$APPIMAGETOOL_URL" - else - echo -e "${RED}Neither wget nor curl was found. Please supply either one.${NC}" - exit 1 - fi - - chmod +x appimagetool - APPIMAGETOOL="./appimagetool" - else - APPIMAGETOOL="appimagetool" - fi -elif [ "$MACHINE" = "Mac" ]; then - if ! command -v docker &> /dev/null; then - echo -e "${RED}Docker not found!${NC}" - echo -e "${YELLOW}Docker is needed on MacOS in order to build the AppImage.${NC}" - exit 1 - fi - echo -e "${GREEN}Docker found - Will be used for AppImage-build.${NC}" - - if [ "$BUILD_ARCH" = "aarch64" ]; then - echo -e "${YELLOW}Building for aarch64(arm64).${NC}" - fi +# Check Docker (needed for all builds) +if ! command -v docker &> /dev/null; then + echo -e "${RED}Docker not found!${NC}" + echo -e "${YELLOW}Docker is required to build AppImages.${NC}" + exit 1 fi +echo -e "${GREEN}Docker found - Will be used for AppImage-build.${NC}" echo -e "${YELLOW}Checking Java 21 JDK...${NC}" if [ ! -d "$JDK_DIR" ]; then @@ -396,9 +367,13 @@ EOF chmod +x "$APP_DIR/AppRun" +# ==================== +# Docker-based AppImage Build +# ==================== echo -e "${YELLOW}Creating AppImage for ${APPIMAGE_ARCH} (this can take a while)...${NC}" rm -f ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage +# Set platform if [[ "$BUILD_ARCH" = "aarch64" || "$BUILD_ARCH" = "arm64" ]]; then DOCKER_PLATFORM="linux/arm64" APPIMAGETOOL_ARCH="aarch64" @@ -409,22 +384,21 @@ else echo -e "${YELLOW}Building for x86_64 (AMD64)...${NC}" fi +# Create simplified Dockerfile (appimagetool downloaded only, NOT extracted) cat > Dockerfile.appimage << DOCKERFILE_EOF FROM --platform=${DOCKER_PLATFORM} ubuntu:22.04 RUN apt-get update && apt-get install -y \ wget file libglib2.0-0 libfuse2 libcairo2 \ libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils \ && rm -rf /var/lib/apt/lists/* -RUN wget -O /usr/local/bin/appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${APPIMAGETOOL_ARCH}.AppImage && \ - chmod +x /usr/local/bin/appimagetool && \ - cd /usr/local/bin && \ - ./appimagetool --appimage-extract && \ - mv squashfs-root appimagetool-dir && \ - rm appimagetool && \ - ln -s /usr/local/bin/appimagetool-dir/AppRun /usr/local/bin/appimagetool +# Download appimagetool (will be extracted at RUNTIME, not during build) +RUN wget -O /usr/local/bin/appimagetool.AppImage \ + https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${APPIMAGETOOL_ARCH}.AppImage && \ + chmod +x /usr/local/bin/appimagetool.AppImage WORKDIR /work DOCKERFILE_EOF +# Build Docker image DOCKER_IMAGE_NAME="appimage-builder-${BUILD_ARCH}" if ! docker images | grep -q "$DOCKER_IMAGE_NAME"; then echo -e "${GREEN}Building Docker image for AppImage creation (${BUILD_ARCH})...${NC}" @@ -434,55 +408,73 @@ if ! docker images | grep -q "$DOCKER_IMAGE_NAME"; then -t $DOCKER_IMAGE_NAME \ -f Dockerfile.appimage \ . - docker buildx build --platform=${DOCKER_PLATFORM} -t $DOCKER_IMAGE_NAME -f Dockerfile.appimage . else echo -e "${GREEN}Using cached Docker image: $DOCKER_IMAGE_NAME${NC}" fi -echo -e "${YELLOW}Packing APP_DIR for Docker-Transfer...${NC}" -echo -e "${YELLOW}APP_DIR contents before packaging:${NC}" -ls -lh "$APP_DIR/usr/lib/" | head -5 - +# Pack APP_DIR +echo -e "${YELLOW}Packing APP_DIR for Docker transfer...${NC}" tar -czf "${APP_DIR}.tar.gz" "$APP_DIR" echo -e "${GREEN}Archive created: $(du -sh "${APP_DIR}.tar.gz" | cut -f1)${NC}" -echo -e "${YELLOW}Checking if JDK is present in archive...${NC}" -if tar -tzf "${APP_DIR}.tar.gz" | grep -q "jdk/bin/java"; then - echo -e "${GREEN}✓ JDK is present in tar-archive${NC}" +# Verify JDK in archive +echo -e "${YELLOW}Verifying JDK in archive...${NC}" +if tar -tzf "${APP_DIR}.tar.gz" 2>/dev/null | grep -q "jdk/bin/java"; then + echo -e "${GREEN}✓ JDK is present in tar archive${NC}" else - echo -e "${RED}✗ ERROR: JDK is NOT present in tar-archive!${NC}" + echo -e "${RED}✗ ERROR: JDK is NOT present in tar archive!${NC}" exit 1 fi +# Run AppImage build in Docker (extract appimagetool at RUNTIME) echo -e "${YELLOW}Running appimagetool in Docker container...${NC}" docker run --rm --platform=${DOCKER_PLATFORM} \ -v "$(pwd)/${APP_DIR}.tar.gz:/work/appdir.tar.gz" \ -v "$(pwd):/output" \ $DOCKER_IMAGE_NAME \ - sh -c "cd /work && tar -xzf appdir.tar.gz && cd /output && ARCH=${APPIMAGE_ARCH} appimagetool /work/${APP_DIR} ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" + sh -c ' + set -e + + echo "Extracting appimagetool (runtime)..." + cd /usr/local/bin + ./appimagetool.AppImage --appimage-extract >/dev/null 2>&1 + ln -sf /usr/local/bin/squashfs-root/AppRun /usr/local/bin/appimagetool + + echo "Extracting APP_DIR..." + cd /work + tar -xzf appdir.tar.gz + + echo "Building AppImage..." + cd /output + ARCH='"${APPIMAGE_ARCH}"' appimagetool /work/'"${APP_DIR}"' '"${APP_NAME}"'-'"${APP_VERSION}"'-'"${APPIMAGE_ARCH}"'.AppImage + + echo "AppImage build complete" + ' rm -f "${APP_DIR}.tar.gz" -echo -e "${YELLOW}Verifying AppImage-Contents...${NC}" +# Verify AppImage was created +echo -e "${YELLOW}Verifying AppImage...${NC}" if [ -f "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" ]; then + echo -e "${GREEN}✓ AppImage created successfully${NC}" + + # Optional: Extract and verify JDK is present ./${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage --appimage-extract >/dev/null 2>&1 if [ -f "squashfs-root/usr/lib/jdk/bin/java" ]; then - echo -e "${GREEN}✓ JDK is present in tar-archive${NC}" + echo -e "${GREEN}✓ JDK is present in AppImage${NC}" else - echo -e "${RED}✗ ERROR: JDK is NOT present in tar-archive!${NC}" - echo -e "${YELLOW}Checking squashfs-root/usr/lib/${NC}" - ls -la squashfs-root/usr/lib/ 2>&1 || true + echo -e "${YELLOW}⚠ Warning: Could not verify JDK in AppImage${NC}" fi rm -rf squashfs-root else - echo -e "${RED}✗ AppImage was not created!${NC}" + echo -e "${RED}✗ ERROR: AppImage was not created!${NC}" exit 1 fi echo -e "${GREEN}=== Done! ===${NC}" echo -e "${GREEN}AppImage created: ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage${NC}" APPIMAGE_SIZE=$(du -h "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" | cut -f1) -echo -e "${GREEN}Site: ${APPIMAGE_SIZE}${NC}" +echo -e "${GREEN}Size: ${APPIMAGE_SIZE}${NC}" echo -e "${GREEN}Architecture: ${APPIMAGE_ARCH}${NC}" echo -e "${YELLOW}Test with: ./${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage${NC}" -echo -e "${YELLOW}FYI: This AppImage contains Java 21 and does not need a separate Java installation!${NC}" +echo -e "${YELLOW}FYI: This AppImage contains Java 21 and does not need a separate Java installation!${NC}" \ No newline at end of file From 69d8fa5a5b0306f2a1e222c8b598b811c2aa6bd1 Mon Sep 17 00:00:00 2001 From: Griefed Date: Thu, 19 Feb 2026 21:00:07 +0100 Subject: [PATCH 13/34] Keep output of extract command Signed-off-by: Griefed --- misc/build-appimage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index b6690d6f0..c684729a1 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -437,7 +437,7 @@ docker run --rm --platform=${DOCKER_PLATFORM} \ echo "Extracting appimagetool (runtime)..." cd /usr/local/bin - ./appimagetool.AppImage --appimage-extract >/dev/null 2>&1 + ./appimagetool.AppImage --appimage-extract ln -sf /usr/local/bin/squashfs-root/AppRun /usr/local/bin/appimagetool echo "Extracting APP_DIR..." From a0bcc8d55724f4132fe4574de3dfd8bbe2da0182 Mon Sep 17 00:00:00 2001 From: Griefed Date: Fri, 20 Feb 2026 18:05:49 +0100 Subject: [PATCH 14/34] ci: Copy appdata xml correctly Signed-off-by: Griefed --- misc/build-appimage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index c684729a1..f9cbe84d2 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -329,7 +329,7 @@ cp img/app.png "$APP_DIR/usr/share/icons/hicolor/512x512/apps/${APP_NAM cp img/app.svg "$APP_DIR/usr/share/icons/hicolor/scalable/apps/${APP_NAME}.svg" cp "$APP_DIR/usr/share/icons/hicolor/256x256/apps/${APP_NAME}.png" "$APP_DIR/${APP_NAME}.png" 2>/dev/null || true cp "$APP_DIR/usr/share/applications/${APP_NAME}.desktop" "$APP_DIR/${APP_NAME}.desktop" -cp misc/appdata.xml "$APP_DIR/usr/share/metainfo/de.griefed.ServerPackCreator.appdata.xml" +cp misc/appdata.xml "$APP_DIR/usr/share/metainfo/${APP_NAME}.appdata.xml" cat > "$APP_DIR/AppRun" << EOF #!/bin/bash From 7b0ed9f1cb48bbffe8a5439fbeba52e7b10707f8 Mon Sep 17 00:00:00 2001 From: Griefed Date: Fri, 20 Feb 2026 18:33:40 +0100 Subject: [PATCH 15/34] ci: Rebuild script to build for arch via arg, independant of sys arch Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 61 +++--- misc/build-appimage.sh | 343 ++++++++++++++++----------------- 2 files changed, 200 insertions(+), 204 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 24bb4da3e..e8d4eb573 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -85,7 +85,7 @@ jobs: with: fetch-depth: 0 - # Set up QEMU for cross-platform builds + # Set up QEMU for cross-platform builds (enables ARM64 emulation on x86_64) - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: @@ -99,13 +99,13 @@ jobs: - name: Verify Docker setup run: | - echo "Docker version:" + echo "=== Docker Information ===" docker --version echo "" - echo "Docker Buildx version:" + echo "=== Docker Buildx ===" docker buildx version echo "" - echo "Available platforms:" + echo "=== Available Platforms ===" docker buildx inspect --bootstrap | grep Platforms || true - name: Cache JDK download @@ -120,28 +120,24 @@ jobs: name: gradle-jars path: . - - name: Verify Docker availability - run: | - echo "Checking Docker..." - which docker || echo "Docker not in PATH" - docker --version || echo "Docker command failed" - docker info || echo "Docker daemon not running" - - name: Make build script executable run: chmod +x misc/build-appimage.sh - - name: Build AppImage - env: - BUILD_ARCH: ${{ matrix.arch }} - run: misc/build-appimage.sh ${{ needs.build-jar.outputs.version }} + - name: Build AppImage for ${{ matrix.arch }} + run: | + # Use --arch argument to explicitly specify target architecture + # This allows building aarch64 AppImages on x86_64 runners via QEMU! + misc/build-appimage.sh --arch ${{ matrix.arch }} ${{ needs.build-jar.outputs.version }} - name: Verify AppImage run: | APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" if [ ! -f "$APPIMAGE" ]; then - echo "Error: AppImage not found: $APPIMAGE" + echo "❌ Error: AppImage not found: $APPIMAGE" + ls -la *.AppImage 2>/dev/null || echo "No AppImages found" exit 1 fi + echo "✅ AppImage created successfully:" ls -lh "$APPIMAGE" - name: Upload AppImage artifact @@ -156,6 +152,8 @@ jobs: run: | APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" sha256sum "$APPIMAGE" > "$APPIMAGE.sha256" + echo "Checksum generated:" + cat "$APPIMAGE.sha256" - name: Upload checksums uses: actions/upload-artifact@v4 @@ -234,21 +232,26 @@ jobs: run: | mkdir continuous - # AppImages - find artifacts/appimage-x86_64 -name "*.AppImage" -exec cp {} continuous/ \; - find artifacts/appimage-aarch64 -name "*.AppImage" -exec cp {} continuous/ \; + echo "=== Collecting AppImages ===" + find artifacts/appimage-x86_64 -name "*.AppImage" -exec cp -v {} continuous/ \; 2>/dev/null || echo "No x86_64 AppImages" + find artifacts/appimage-aarch64 -name "*.AppImage" -exec cp -v {} continuous/ \; 2>/dev/null || echo "No aarch64 AppImages" - # Checksums - find artifacts -name "*.sha256" -exec cp {} continuous/ \; + echo "" + echo "=== Collecting Checksums ===" + find artifacts -name "*.sha256" -exec cp -v {} continuous/ \; 2>/dev/null || echo "No checksums" - # JARs - find artifacts/gradle-jars -name "*.jar" ! -name "*-plain.jar" -exec cp {} continuous/ \; + echo "" + echo "=== Collecting JARs ===" + find artifacts/gradle-jars -name "*.jar" ! -name "*-plain.jar" -exec cp -v {} continuous/ \; 2>/dev/null || echo "No JARs" - # Install4J Media - cp artifacts/install4j-media/*.dmg continuous/ 2>/dev/null || true - cp artifacts/install4j-media/*.sh continuous/ 2>/dev/null || true - cp artifacts/install4j-media/*.exe continuous/ 2>/dev/null || true + echo "" + echo "=== Collecting Install4J Media ===" + cp artifacts/install4j-media/*.dmg continuous/ 2>/dev/null || echo "No DMG files" + cp artifacts/install4j-media/*.sh continuous/ 2>/dev/null || echo "No SH files" + cp artifacts/install4j-media/*.exe continuous/ 2>/dev/null || echo "No EXE files" + echo "" + echo "=== Final Contents ===" ls -lh continuous/ - name: Generate checksum @@ -279,7 +282,7 @@ jobs: body: | ## 🔄 Continuous Dev-Build - **Built:** ${{ steps.timestamp.outputs.date }} at ${{ steps.timestamp.outputs.time }} + **Built:** ${{ steps.build_time.outputs.timestamp }} **Commit:** `${{ github.sha }}` --- @@ -316,4 +319,4 @@ jobs: host: ${{ secrets.SPCUPLOAD_HOST }} remote: "${{ secrets.SPCUPLOAD_TARGET }}" user: ${{ secrets.SPCUPLOAD_USERNAME }} - key: ${{ secrets.SPCUPLOAD_KEY }} \ No newline at end of file + key: ${{ secrets.SPCUPLOAD_KEY }} diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index f9cbe84d2..ac4801aa0 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -2,7 +2,7 @@ # Build-Script for Java 21 apps as AppImages # Builds a gradle-based application into an AppImage and includes a Java 21 JDK in it -# Proof of concept script written using Claude Sonnet 4.5 and classic manual writing. +# Supports cross-platform builds via Docker (x86_64 and aarch64) set -e @@ -15,24 +15,96 @@ GREEN='\033[0;32m' YELLOW='\033[1;33m' NC='\033[0m' # No Color +# Default values +TARGET_ARCH="" +APP_VERSION="dev" + +# Parse arguments +while [[ $# -gt 0 ]]; do + case $1 in + -h|--help) + echo "Usage: $0 [OPTIONS] [VERSION]" + echo "" + echo "Builds an AppImage for the specified target architecture using Docker." + echo "" + echo "Options:" + echo " -a, --arch ARCH Target architecture (x86_64 or aarch64)" + echo " If not specified, uses BUILD_ARCH env var or host arch" + echo " -h, --help Show this help message" + echo "" + echo "Arguments:" + echo " VERSION Version string (default: 'dev')" + echo "" + echo "Examples:" + echo " $0 # Build for host architecture, version 'dev'" + echo " $0 1.0.0 # Build for host architecture, version '1.0.0'" + echo " $0 --arch aarch64 1.0.0 # Build for ARM64, version '1.0.0'" + echo " $0 -a x86_64 2.1.3 # Build for x86_64, version '2.1.3'" + echo "" + echo "Environment Variables:" + echo " BUILD_ARCH Alternative way to specify target architecture" + echo "" + exit 0 + ;; + -a|--arch) + TARGET_ARCH="$2" + shift 2 + ;; + -*) + echo -e "${RED}Unknown option: $1${NC}" + echo "Use --help for usage information" + exit 1 + ;; + *) + APP_VERSION="$1" + shift + ;; + esac +done + echo -e "${GREEN}Script-Dir: $SCRIPT_DIR" echo -e "${GREEN}Project-Root: $PROJECT_ROOT" echo "" -if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then - echo "Usage: $0 [VERSION]" - echo "" - echo "Builds an AppImage for the native architecture of the build-system." - echo "Supports: x86_64, aarch64 (ARM64)" - echo "" - echo "Examples:" - echo " $0 # Builds with version 'dev'" - echo " $0 1.0.0 # Builds with version '1.0.0'" - echo " $0 2.1.3 # Builds with version '2.1.3'" - echo "" - exit 0 +# Determine target architecture +if [ -n "$TARGET_ARCH" ]; then + # CLI argument takes precedence + BUILD_ARCH="$TARGET_ARCH" +elif [ -n "$BUILD_ARCH" ]; then + # Use environment variable if set + BUILD_ARCH="$BUILD_ARCH" +else + # Fall back to host architecture + HOST_ARCH="$(uname -m)" + case "${HOST_ARCH}" in + x86_64) BUILD_ARCH=x86_64;; + aarch64) BUILD_ARCH=aarch64;; + arm64) BUILD_ARCH=aarch64;; + *) + echo -e "${RED}Unknown host architecture: ${HOST_ARCH}${NC}" + echo -e "${YELLOW}Please specify target architecture with --arch${NC}" + exit 1 + ;; + esac + echo -e "${YELLOW}No target architecture specified, using host architecture${NC}" fi +# Validate and normalize architecture +case "${BUILD_ARCH}" in + x86_64|amd64) + BUILD_ARCH=x86_64 + ;; + aarch64|arm64) + BUILD_ARCH=aarch64 + ;; + *) + echo -e "${RED}Invalid architecture: ${BUILD_ARCH}${NC}" + echo -e "${YELLOW}Supported architectures: x86_64, aarch64${NC}" + exit 1 + ;; +esac + +# Detect OS (for informational purposes only) OS="$(uname -s)" case "${OS}" in Linux*) MACHINE=Linux;; @@ -40,24 +112,14 @@ case "${OS}" in *) MACHINE="UNKNOWN:${OS}" esac -if [[ -z "$BUILD_ARCH" ]]; then - ARCH="$(uname -m)" - case "${ARCH}" in - x86_64) BUILD_ARCH=x86_64;; - aarch64) BUILD_ARCH=aarch64;; # Linux ARM64 - arm64) BUILD_ARCH=aarch64;; # macOS ARM64 - *) - echo -e "${RED}Unknown architecture: ${ARCH}${NC}" - exit 1 - ;; - esac -fi - -echo -e "${GREEN}Detected OS: $MACHINE${NC}" -echo -e "${GREEN}Detected arch: $BUILD_ARCH${NC}" +HOST_ARCH="$(uname -m)" +echo -e "${GREEN}Host OS: $MACHINE ($HOST_ARCH)${NC}" +echo -e "${GREEN}Target Architecture: $BUILD_ARCH${NC}" +echo -e "${GREEN}Build Version: ${APP_VERSION}${NC}" +echo "" +# Configuration APP_NAME="ServerPackCreator" -APP_VERSION="${1:-dev}" APP_DIR="${APP_NAME}.AppDir" APP_COMMENT="Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks." APP_CATEGORIES="Utility;FileTools;Java;" @@ -68,16 +130,22 @@ GRADLE_ARGS="--info --full-stacktrace --warning-mode all -x :serverpackcreator-a BUILD_DIR="serverpackcreator-app/build/libs" JDK_VERSION="21" +# Set JDK URL and Docker platform based on target architecture if [ "$BUILD_ARCH" = "x86_64" ]; then JDK_URL="https://api.adoptium.net/v3/binary/latest/21/ga/linux/x64/jdk/hotspot/normal/eclipse" JDK_DIR="jdk-${JDK_VERSION}-${BUILD_ARCH}" APPIMAGE_ARCH=${BUILD_ARCH} + DOCKER_PLATFORM="linux/amd64" + APPIMAGETOOL_ARCH="x86_64" elif [ "$BUILD_ARCH" = "aarch64" ]; then JDK_URL="https://api.adoptium.net/v3/binary/latest/21/ga/linux/aarch64/jdk/hotspot/normal/eclipse" JDK_DIR="jdk-${JDK_VERSION}-${BUILD_ARCH}" APPIMAGE_ARCH=${BUILD_ARCH} + DOCKER_PLATFORM="linux/arm64" + APPIMAGETOOL_ARCH="aarch64" fi +# Cleanup function cleanup() { echo -e "${YELLOW}Cleaning up temporary files...${NC}" rm -rf "$APP_DIR" @@ -87,38 +155,57 @@ cleanup() { trap cleanup EXIT -echo -e "${GREEN}Build-Version: ${APP_VERSION}${NC}" -echo "" echo -e "${GREEN}=== Build-Process started ===${NC}" +# Check Dependencies echo -e "${YELLOW}Checking Dependencies...${NC}" if [ ! -f "./gradlew" ]; then echo -e "${RED}Gradle-Wrapper (gradlew) not found!${NC}" - echo -e "${YELLOW}Ensure it's present in the root-dir of the project.${NC}" + echo -e "${YELLOW}Ensure it's present in the root directory of the project.${NC}" exit 1 fi chmod +x ./gradlew -# Check Docker (needed for all builds) +# Docker is always required now (for consistent cross-platform builds) if ! command -v docker &> /dev/null; then echo -e "${RED}Docker not found!${NC}" echo -e "${YELLOW}Docker is required to build AppImages.${NC}" + if [ "$MACHINE" = "Mac" ]; then + echo -e "${YELLOW}Install Docker Desktop: https://www.docker.com/products/docker-desktop${NC}" + else + echo -e "${YELLOW}Install Docker: https://docs.docker.com/engine/install/${NC}" + fi exit 1 fi -echo -e "${GREEN}Docker found - Will be used for AppImage-build.${NC}" -echo -e "${YELLOW}Checking Java 21 JDK...${NC}" +echo -e "${GREEN}Docker found - Version: $(docker --version)${NC}" + +# Check if docker daemon is running +if ! docker info &> /dev/null; then + echo -e "${RED}Docker daemon is not running!${NC}" + echo -e "${YELLOW}Please start Docker and try again.${NC}" + exit 1 +fi + +# Notify about cross-compilation if applicable +if [ "$HOST_ARCH" != "$BUILD_ARCH" ]; then + echo -e "${YELLOW}Cross-compilation detected: Building $BUILD_ARCH on $HOST_ARCH${NC}" + echo -e "${YELLOW}This may take longer due to QEMU emulation...${NC}" +fi + +# Download JDK +echo -e "${YELLOW}Checking Java 21 JDK for ${BUILD_ARCH}...${NC}" if [ ! -d "$JDK_DIR" ]; then - echo -e "${YELLOW}Downloading Java 21 JDK...${NC}" + echo -e "${YELLOW}Downloading Java 21 JDK for ${BUILD_ARCH}...${NC}" if command -v wget &> /dev/null; then wget -O jdk.tar.gz "$JDK_URL" elif command -v curl &> /dev/null; then curl -L -o jdk.tar.gz "$JDK_URL" else - echo -e "${RED}Neither wget nor curl was found. Please supply either one.${NC}" + echo -e "${RED}Neither wget nor curl was found. Please install one of them.${NC}" exit 1 fi @@ -131,31 +218,34 @@ else echo -e "${GREEN}JDK already present.${NC}" fi +# Check for existing JAR echo -e "${YELLOW}Checking if JAR already exists...${NC}" EXISTING_JAR=$(find "$BUILD_DIR" -name "*.jar" ! -name "*-javadoc.jar" ! -name "*-sources.jar" ! -name "*-plain.jar" 2>/dev/null | head -n 1) if [ -n "$EXISTING_JAR" ]; then echo -e "${GREEN}JAR already present: $EXISTING_JAR${NC}" - echo -e "${YELLOW}Skipping Gradle-Build. For rebuild, delete $BUILD_DIR/*.jar${NC}" + echo -e "${YELLOW}Skipping Gradle-Build. To rebuild, delete $BUILD_DIR/*.jar${NC}" JAR_FILE="$EXISTING_JAR" else echo -e "${YELLOW}No JAR found. Building using Gradle Wrapper...${NC}" ./gradlew clean --info --full-stacktrace - ./gradlew $GRADLE_TASK -Pversion=$APP_VERSION $GRADLE_ARGS --info --full-stacktrace + ./gradlew $GRADLE_TASK -Pversion=$APP_VERSION $GRADLE_ARGS JAR_FILE=$(find "$BUILD_DIR" -name "*.jar" ! -name "*-javadoc.jar" ! -name "*-sources.jar" ! -name "*-plain.jar" | head -n 1) if [ -z "$JAR_FILE" ]; then - echo -e "${RED}No JAR-file found in $BUILD_DIR${NC}" + echo -e "${RED}No JAR file found in $BUILD_DIR${NC}" exit 1 fi echo -e "${GREEN}JAR created: $JAR_FILE${NC}" fi -echo -e "${GREEN}JAR found: $JAR_FILE${NC}" +echo -e "${GREEN}Using JAR: $JAR_FILE${NC}" -echo -e "${YELLOW}Creating AppImage-Structure...${NC}" +# Create AppImage structure +echo -e "${YELLOW}Creating AppImage structure...${NC}" +rm -rf "$APP_DIR" mkdir -p "$APP_DIR/usr/bin" mkdir -p "$APP_DIR/usr/lib" mkdir -p "$APP_DIR/usr/share/applications" @@ -164,6 +254,7 @@ mkdir -p "$APP_DIR/usr/share/icons/hicolor/512x512/apps" mkdir -p "$APP_DIR/usr/share/icons/hicolor/scalable/apps" mkdir -p "$APP_DIR/usr/share/metainfo" +# Copy JDK echo -e "${YELLOW}Copying Java JDK into AppImage...${NC}" cp -rp "$JDK_DIR" "$APP_DIR/usr/lib/jdk" chmod +x "$APP_DIR/usr/lib/jdk/bin/"* 2>/dev/null || true @@ -171,14 +262,14 @@ echo -e "${GREEN}JDK copied (Size: $(du -sh "$APP_DIR/usr/lib/jdk" | cut -f1))${ if [ ! -f "$APP_DIR/usr/lib/jdk/bin/java" ]; then echo -e "${RED}ERROR: JDK was not correctly copied!${NC}" - echo -e "${YELLOW}Check $APP_DIR/usr/lib/${NC}" - ls -la "$APP_DIR/usr/lib/" 2>&1 || true exit 1 fi echo -e "${GREEN}✓ JDK exists in APP_DIR${NC}" +# Copy JAR cp "$JAR_FILE" "$APP_DIR/usr/lib/${APP_NAME}.jar" +# Create Launcher Script cat > "$APP_DIR/usr/bin/${APP_NAME}" << LAUNCHER_EOF #!/bin/bash SCRIPT_PATH="\$(readlink -f "\$0")" @@ -193,26 +284,19 @@ if [ "\$DEBUG" = "1" ]; then echo " BUNDLED_JAVA=\$BUNDLED_JAVA" fi -# Function to check Java version check_java_version() { local java_cmd="\$1" if [ ! -x "\$java_cmd" ]; then return 1 fi - - # Get Java version local version_output=\$("\$java_cmd" -version 2>&1) local java_version=\$(echo "\$version_output" | grep -oP '(?<=version ")([0-9]+)' | head -1) - if [ -z "\$java_version" ]; then - # Try alternative format (OpenJDK) java_version=\$(echo "\$version_output" | grep -oP '(?<=openjdk )([0-9]+)' | head -1) fi - if [ -z "\$java_version" ]; then return 1 fi - if [ "\$java_version" -ge "\$REQUIRED_JAVA_VERSION" ]; then return 0 else @@ -220,98 +304,45 @@ check_java_version() { fi } -# Try bundled JDK first JAVA="" if [ -f "\$BUNDLED_JAVA" ] && [ -x "\$BUNDLED_JAVA" ]; then if check_java_version "\$BUNDLED_JAVA"; then JAVA="\$BUNDLED_JAVA" - if [ "\$DEBUG" = "1" ]; then - echo "✓ Using bundled JDK: \$JAVA" - fi + [ "\$DEBUG" = "1" ] && echo "✓ Using bundled JDK: \$JAVA" fi elif [ -f "\$BUNDLED_JAVA" ] && [ ! -x "\$BUNDLED_JAVA" ]; then - # Try to fix permissions chmod +x "\$BUNDLED_JAVA" 2>/dev/null || true if [ -x "\$BUNDLED_JAVA" ] && check_java_version "\$BUNDLED_JAVA"; then JAVA="\$BUNDLED_JAVA" - if [ "\$DEBUG" = "1" ]; then - echo "✓ Using bundled JDK (fixed permissions): \$JAVA" - fi + [ "\$DEBUG" = "1" ] && echo "✓ Using bundled JDK (fixed permissions): \$JAVA" fi fi -# Fallback to system Java if bundled JDK not available if [ -z "\$JAVA" ]; then - if [ "\$DEBUG" = "1" ]; then - echo "⚠ Bundled JDK not available, checking for system Java..." - fi - - # Check if java is in PATH + [ "\$DEBUG" = "1" ] && echo "⚠ Bundled JDK not available, checking for system Java..." if command -v java &> /dev/null; then SYSTEM_JAVA="\$(command -v java)" if check_java_version "\$SYSTEM_JAVA"; then JAVA="\$SYSTEM_JAVA" echo "⚠ Warning: Using system Java instead of bundled JDK" echo " Location: \$JAVA" - echo -n " Version: " \$JAVA -version 2>&1 | head -1 - else - echo "✗ Error: System Java found but version is too old (requires Java \$REQUIRED_JAVA_VERSION+)" - echo -n " Found: " - \$SYSTEM_JAVA -version 2>&1 | head -1 fi fi fi -# Final check - no compatible Java found if [ -z "\$JAVA" ]; then - echo "========================================" - echo "ERROR: No compatible Java installation found!" - echo "========================================" - echo "" - echo "This application requires Java \$REQUIRED_JAVA_VERSION or higher." - echo "" - echo "Bundled JDK Status:" - if [ -d "\$APPDIR/usr/lib/jdk" ]; then - echo " ✗ JDK directory exists but java binary not found/executable" - echo " Expected: \$BUNDLED_JAVA" - if [ -f "\$BUNDLED_JAVA" ]; then - echo " File exists: Yes" - echo " Permissions: \$(ls -l "\$BUNDLED_JAVA" | awk '{print \$1}')" - else - echo " File exists: No" - fi - else - echo " ✗ JDK directory does not exist: \$APPDIR/usr/lib/jdk" - fi - echo "" - echo "System Java Status:" - if command -v java &> /dev/null; then - echo " ✗ Found: \$(command -v java)" - echo -n " Version: " - java -version 2>&1 | head -1 - echo " (Too old - requires Java \$REQUIRED_JAVA_VERSION+)" - else - echo " ✗ No 'java' command found in PATH" - fi - echo "" - echo "Solutions:" - echo " 1. Install Java \$REQUIRED_JAVA_VERSION or higher:" - echo " Ubuntu/Debian: sudo apt install openjdk-21-jre" - echo " Fedora: sudo dnf install java-21-openjdk" - echo " Arch: sudo pacman -S jre-openjdk" - echo " 2. Re-download the AppImage (bundled JDK may be corrupted)" - echo " 3. Run with DEBUG=1 for more information" - echo "" + echo "ERROR: No compatible Java \$REQUIRED_JAVA_VERSION+ found!" + echo "Install Java or re-download the AppImage." exit 1 fi -# Launch application exec "\$JAVA" ${APP_ARGS} -jar "\$APPDIR/usr/lib/${APP_NAME}.jar" "\$@" LAUNCHER_EOF chmod +x "$APP_DIR/usr/bin/${APP_NAME}" +# Create Desktop Entry cat > "$APP_DIR/usr/share/applications/${APP_NAME}.desktop" << EOF [Desktop Entry] Type=Application @@ -324,41 +355,29 @@ Terminal=false StartupWMClass=${APP_MAIN_CLASS} EOF +# Copy icons and metadata cp img/app_256x256.png "$APP_DIR/usr/share/icons/hicolor/256x256/apps/${APP_NAME}.png" cp img/app.png "$APP_DIR/usr/share/icons/hicolor/512x512/apps/${APP_NAME}.png" cp img/app.svg "$APP_DIR/usr/share/icons/hicolor/scalable/apps/${APP_NAME}.svg" cp "$APP_DIR/usr/share/icons/hicolor/256x256/apps/${APP_NAME}.png" "$APP_DIR/${APP_NAME}.png" 2>/dev/null || true cp "$APP_DIR/usr/share/applications/${APP_NAME}.desktop" "$APP_DIR/${APP_NAME}.desktop" -cp misc/appdata.xml "$APP_DIR/usr/share/metainfo/${APP_NAME}.appdata.xml" +cp misc/appdata.xml "$APP_DIR/usr/share/metainfo/de.griefed.ServerPackCreator.appdata.xml" +# Create AppRun cat > "$APP_DIR/AppRun" << EOF #!/bin/bash APPDIR="\$(cd "\$(dirname "\$(readlink -f "\$0")")" && pwd)" +[ -z "\$APPDIR" ] && { echo "ERROR: APPDIR could not be computed"; exit 1; } -# Debug: If APPDIR is empty -if [ -z "\$APPDIR" ]; then - echo "ERROR: APPDIR could not be computed" - exit 1 -fi - -# Debug-Mode if [ "\$DEBUG" = "1" ]; then - echo "DEBUG AppRun:" - echo " \$0 = \$0" - echo " readlink = \$(readlink -f "\$0")" - echo " dirname = \$(dirname "\$(readlink -f "\$0")")" - echo " APPDIR = \$APPDIR" - echo " Target = \$APPDIR/usr/bin/${APP_NAME}" + echo "DEBUG AppRun: APPDIR=\$APPDIR" fi export PATH="\$APPDIR/usr/bin:\$PATH" export LD_LIBRARY_PATH="\$APPDIR/usr/lib:\$LD_LIBRARY_PATH" -# Check if launcher exists if [ ! -f "\$APPDIR/usr/bin/${APP_NAME}" ]; then echo "ERROR: Launcher not found: \$APPDIR/usr/bin/${APP_NAME}" - echo "APPDIR contents:" - ls -la "\$APPDIR" 2>&1 || true exit 1 fi @@ -367,31 +386,20 @@ EOF chmod +x "$APP_DIR/AppRun" -# ==================== -# Docker-based AppImage Build -# ==================== -echo -e "${YELLOW}Creating AppImage for ${APPIMAGE_ARCH} (this can take a while)...${NC}" +# ================== +# Docker-based Build +# ================== +echo -e "${YELLOW}Creating AppImage for ${APPIMAGE_ARCH} using Docker...${NC}" +echo -e "${YELLOW}Platform: ${DOCKER_PLATFORM}${NC}" rm -f ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage -# Set platform -if [[ "$BUILD_ARCH" = "aarch64" || "$BUILD_ARCH" = "arm64" ]]; then - DOCKER_PLATFORM="linux/arm64" - APPIMAGETOOL_ARCH="aarch64" - echo -e "${YELLOW}Building for aarch64 (ARM64)...${NC}" -else - DOCKER_PLATFORM="linux/amd64" - APPIMAGETOOL_ARCH="x86_64" - echo -e "${YELLOW}Building for x86_64 (AMD64)...${NC}" -fi - -# Create simplified Dockerfile (appimagetool downloaded only, NOT extracted) +# Create Dockerfile (downloads appimagetool, does NOT extract during build) cat > Dockerfile.appimage << DOCKERFILE_EOF FROM --platform=${DOCKER_PLATFORM} ubuntu:22.04 RUN apt-get update && apt-get install -y \ wget file libglib2.0-0 libfuse2 libcairo2 \ libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils \ && rm -rf /var/lib/apt/lists/* -# Download appimagetool (will be extracted at RUNTIME, not during build) RUN wget -O /usr/local/bin/appimagetool.AppImage \ https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${APPIMAGETOOL_ARCH}.AppImage && \ chmod +x /usr/local/bin/appimagetool.AppImage @@ -400,16 +408,16 @@ DOCKERFILE_EOF # Build Docker image DOCKER_IMAGE_NAME="appimage-builder-${BUILD_ARCH}" -if ! docker images | grep -q "$DOCKER_IMAGE_NAME"; then - echo -e "${GREEN}Building Docker image for AppImage creation (${BUILD_ARCH})...${NC}" +if docker images | grep -q "$DOCKER_IMAGE_NAME"; then + echo -e "${GREEN}Using cached Docker image: $DOCKER_IMAGE_NAME${NC}" +else + echo -e "${YELLOW}Building Docker image (${BUILD_ARCH})...${NC}" docker buildx build \ --platform=${DOCKER_PLATFORM} \ --load \ -t $DOCKER_IMAGE_NAME \ -f Dockerfile.appimage \ . -else - echo -e "${GREEN}Using cached Docker image: $DOCKER_IMAGE_NAME${NC}" fi # Pack APP_DIR @@ -418,26 +426,24 @@ tar -czf "${APP_DIR}.tar.gz" "$APP_DIR" echo -e "${GREEN}Archive created: $(du -sh "${APP_DIR}.tar.gz" | cut -f1)${NC}" # Verify JDK in archive -echo -e "${YELLOW}Verifying JDK in archive...${NC}" if tar -tzf "${APP_DIR}.tar.gz" 2>/dev/null | grep -q "jdk/bin/java"; then - echo -e "${GREEN}✓ JDK is present in tar archive${NC}" + echo -e "${GREEN}✓ JDK is present in archive${NC}" else - echo -e "${RED}✗ ERROR: JDK is NOT present in tar archive!${NC}" + echo -e "${RED}✗ ERROR: JDK is NOT present in archive!${NC}" exit 1 fi # Run AppImage build in Docker (extract appimagetool at RUNTIME) -echo -e "${YELLOW}Running appimagetool in Docker container...${NC}" +echo -e "${YELLOW}Building AppImage in Docker container...${NC}" docker run --rm --platform=${DOCKER_PLATFORM} \ -v "$(pwd)/${APP_DIR}.tar.gz:/work/appdir.tar.gz" \ -v "$(pwd):/output" \ $DOCKER_IMAGE_NAME \ sh -c ' set -e - - echo "Extracting appimagetool (runtime)..." + echo "Extracting appimagetool..." cd /usr/local/bin - ./appimagetool.AppImage --appimage-extract + ./appimagetool.AppImage --appimage-extract >/dev/null 2>&1 ln -sf /usr/local/bin/squashfs-root/AppRun /usr/local/bin/appimagetool echo "Extracting APP_DIR..." @@ -447,34 +453,21 @@ docker run --rm --platform=${DOCKER_PLATFORM} \ echo "Building AppImage..." cd /output ARCH='"${APPIMAGE_ARCH}"' appimagetool /work/'"${APP_DIR}"' '"${APP_NAME}"'-'"${APP_VERSION}"'-'"${APPIMAGE_ARCH}"'.AppImage - - echo "AppImage build complete" ' rm -f "${APP_DIR}.tar.gz" -# Verify AppImage was created -echo -e "${YELLOW}Verifying AppImage...${NC}" +# Verify AppImage if [ -f "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" ]; then echo -e "${GREEN}✓ AppImage created successfully${NC}" + APPIMAGE_SIZE=$(du -h "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" | cut -f1) - # Optional: Extract and verify JDK is present - ./${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage --appimage-extract >/dev/null 2>&1 - if [ -f "squashfs-root/usr/lib/jdk/bin/java" ]; then - echo -e "${GREEN}✓ JDK is present in AppImage${NC}" - else - echo -e "${YELLOW}⚠ Warning: Could not verify JDK in AppImage${NC}" - fi - rm -rf squashfs-root + echo -e "${GREEN}=== Success! ===${NC}" + echo -e "${GREEN}AppImage: ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage${NC}" + echo -e "${GREEN}Size: ${APPIMAGE_SIZE}${NC}" + echo -e "${GREEN}Target Architecture: ${APPIMAGE_ARCH}${NC}" + echo -e "${YELLOW}Test with: ./${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage${NC}" else echo -e "${RED}✗ ERROR: AppImage was not created!${NC}" exit 1 fi - -echo -e "${GREEN}=== Done! ===${NC}" -echo -e "${GREEN}AppImage created: ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage${NC}" -APPIMAGE_SIZE=$(du -h "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" | cut -f1) -echo -e "${GREEN}Size: ${APPIMAGE_SIZE}${NC}" -echo -e "${GREEN}Architecture: ${APPIMAGE_ARCH}${NC}" -echo -e "${YELLOW}Test with: ./${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage${NC}" -echo -e "${YELLOW}FYI: This AppImage contains Java 21 and does not need a separate Java installation!${NC}" \ No newline at end of file From 49ba0fd482d1fb293ea3f5c2095918019dcd83de Mon Sep 17 00:00:00 2001 From: Griefed Date: Fri, 20 Feb 2026 21:47:36 +0100 Subject: [PATCH 16/34] ci: Switch to AppImage/appimagetool Signed-off-by: Griefed --- misc/build-appimage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index ac4801aa0..87d8d9aa0 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -361,7 +361,7 @@ cp img/app.png "$APP_DIR/usr/share/icons/hicolor/512x512/apps/${APP_NAM cp img/app.svg "$APP_DIR/usr/share/icons/hicolor/scalable/apps/${APP_NAME}.svg" cp "$APP_DIR/usr/share/icons/hicolor/256x256/apps/${APP_NAME}.png" "$APP_DIR/${APP_NAME}.png" 2>/dev/null || true cp "$APP_DIR/usr/share/applications/${APP_NAME}.desktop" "$APP_DIR/${APP_NAME}.desktop" -cp misc/appdata.xml "$APP_DIR/usr/share/metainfo/de.griefed.ServerPackCreator.appdata.xml" +cp misc/appdata.xml "$APP_DIR/usr/share/metainfo/${APP_NAME}.appdata.xml" # Create AppRun cat > "$APP_DIR/AppRun" << EOF @@ -401,7 +401,7 @@ RUN apt-get update && apt-get install -y \ libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils \ && rm -rf /var/lib/apt/lists/* RUN wget -O /usr/local/bin/appimagetool.AppImage \ - https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${APPIMAGETOOL_ARCH}.AppImage && \ + https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-${APPIMAGETOOL_ARCH}.AppImage && \ chmod +x /usr/local/bin/appimagetool.AppImage WORKDIR /work DOCKERFILE_EOF From 77c9d125cf3674854a48db22c24e15d1a6177c42 Mon Sep 17 00:00:00 2001 From: Griefed Date: Fri, 20 Feb 2026 22:33:44 +0100 Subject: [PATCH 17/34] Try with mounting qemu Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 4 ++-- misc/build-appimage.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index e8d4eb573..c4c7510ce 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -124,9 +124,9 @@ jobs: run: chmod +x misc/build-appimage.sh - name: Build AppImage for ${{ matrix.arch }} + env: + QEMU=${{ runner.temp }}/qemu-static run: | - # Use --arch argument to explicitly specify target architecture - # This allows building aarch64 AppImages on x86_64 runners via QEMU! misc/build-appimage.sh --arch ${{ matrix.arch }} ${{ needs.build-jar.outputs.version }} - name: Verify AppImage diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index 87d8d9aa0..f1d083808 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -18,6 +18,7 @@ NC='\033[0m' # No Color # Default values TARGET_ARCH="" APP_VERSION="dev" +QEMU_STATIC="${QEMU:-/usr/bin/qemu-static}" # Parse arguments while [[ $# -gt 0 ]]; do @@ -437,13 +438,14 @@ fi echo -e "${YELLOW}Building AppImage in Docker container...${NC}" docker run --rm --platform=${DOCKER_PLATFORM} \ -v "$(pwd)/${APP_DIR}.tar.gz:/work/appdir.tar.gz" \ + -v "${QEMU_STATIC}:/usr/bin/qemu-static" \ -v "$(pwd):/output" \ $DOCKER_IMAGE_NAME \ sh -c ' set -e echo "Extracting appimagetool..." cd /usr/local/bin - ./appimagetool.AppImage --appimage-extract >/dev/null 2>&1 + qemu-static appimagetool.AppImage --appimage-extract ln -sf /usr/local/bin/squashfs-root/AppRun /usr/local/bin/appimagetool echo "Extracting APP_DIR..." From ed92bdf9c267914b543143005994024bdf1c8ed4 Mon Sep 17 00:00:00 2001 From: Griefed Date: Fri, 20 Feb 2026 22:45:53 +0100 Subject: [PATCH 18/34] ci: Fix env declaration Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index c4c7510ce..49ac36155 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -125,7 +125,7 @@ jobs: - name: Build AppImage for ${{ matrix.arch }} env: - QEMU=${{ runner.temp }}/qemu-static + QEMU: "${{ runner.temp }}/qemu-static" run: | misc/build-appimage.sh --arch ${{ matrix.arch }} ${{ needs.build-jar.outputs.version }} From 4abe49f468ff86898cce0088fb4acb064f4a2733 Mon Sep 17 00:00:00 2001 From: Griefed Date: Fri, 20 Feb 2026 23:00:06 +0100 Subject: [PATCH 19/34] ci: Try with privileged and chmod Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 2 ++ misc/build-appimage.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 49ac36155..29b29f93a 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -96,6 +96,7 @@ jobs: uses: docker/setup-buildx-action@v3 with: install: true + platforms: linux/amd64,linux/arm64 - name: Verify Docker setup run: | @@ -127,6 +128,7 @@ jobs: env: QEMU: "${{ runner.temp }}/qemu-static" run: | + chmod +x ${{ runner.temp }}/qemu-static misc/build-appimage.sh --arch ${{ matrix.arch }} ${{ needs.build-jar.outputs.version }} - name: Verify AppImage diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index f1d083808..546f272e2 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -436,7 +436,9 @@ fi # Run AppImage build in Docker (extract appimagetool at RUNTIME) echo -e "${YELLOW}Building AppImage in Docker container...${NC}" +chmod +x "${QEMU_STATIC}" docker run --rm --platform=${DOCKER_PLATFORM} \ + --privileged \ -v "$(pwd)/${APP_DIR}.tar.gz:/work/appdir.tar.gz" \ -v "${QEMU_STATIC}:/usr/bin/qemu-static" \ -v "$(pwd):/output" \ From f4c745c8a3b0e269b06c988b731e161d4ba62fc7 Mon Sep 17 00:00:00 2001 From: Griefed Date: Fri, 20 Feb 2026 23:11:13 +0100 Subject: [PATCH 20/34] ci: Using qemu directly didnt work Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 3 --- misc/build-appimage.sh | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 29b29f93a..bb86f019b 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -125,10 +125,7 @@ jobs: run: chmod +x misc/build-appimage.sh - name: Build AppImage for ${{ matrix.arch }} - env: - QEMU: "${{ runner.temp }}/qemu-static" run: | - chmod +x ${{ runner.temp }}/qemu-static misc/build-appimage.sh --arch ${{ matrix.arch }} ${{ needs.build-jar.outputs.version }} - name: Verify AppImage diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index 546f272e2..1859658bc 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -18,7 +18,6 @@ NC='\033[0m' # No Color # Default values TARGET_ARCH="" APP_VERSION="dev" -QEMU_STATIC="${QEMU:-/usr/bin/qemu-static}" # Parse arguments while [[ $# -gt 0 ]]; do @@ -436,18 +435,16 @@ fi # Run AppImage build in Docker (extract appimagetool at RUNTIME) echo -e "${YELLOW}Building AppImage in Docker container...${NC}" -chmod +x "${QEMU_STATIC}" docker run --rm --platform=${DOCKER_PLATFORM} \ --privileged \ -v "$(pwd)/${APP_DIR}.tar.gz:/work/appdir.tar.gz" \ - -v "${QEMU_STATIC}:/usr/bin/qemu-static" \ -v "$(pwd):/output" \ $DOCKER_IMAGE_NAME \ sh -c ' set -e echo "Extracting appimagetool..." cd /usr/local/bin - qemu-static appimagetool.AppImage --appimage-extract + ./appimagetool.AppImage --appimage-extract ln -sf /usr/local/bin/squashfs-root/AppRun /usr/local/bin/appimagetool echo "Extracting APP_DIR..." From e3d6123c0c57c0ee53cdec76bd16781ad55eae83 Mon Sep 17 00:00:00 2001 From: Griefed Date: Fri, 20 Feb 2026 23:21:04 +0100 Subject: [PATCH 21/34] ci: Try with qemu user static reset Signed-off-by: Griefed --- misc/build-appimage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index 1859658bc..25a079307 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -412,6 +412,7 @@ if docker images | grep -q "$DOCKER_IMAGE_NAME"; then echo -e "${GREEN}Using cached Docker image: $DOCKER_IMAGE_NAME${NC}" else echo -e "${YELLOW}Building Docker image (${BUILD_ARCH})...${NC}" + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes docker buildx build \ --platform=${DOCKER_PLATFORM} \ --load \ From 5a22871929484ab6f93e810ea6329eceffeafe77 Mon Sep 17 00:00:00 2001 From: Griefed Date: Fri, 20 Feb 2026 23:34:37 +0100 Subject: [PATCH 22/34] ci: Try with other matrix specs Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 4 ++-- misc/build-appimage.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index bb86f019b..373122fa8 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -76,8 +76,8 @@ jobs: fail-fast: false matrix: arch: - - x86_64 - - aarch64 + - docker: amd64 + - docker: arm64 steps: - name: Checkout code diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index 25a079307..9e6820ab3 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -80,6 +80,7 @@ else x86_64) BUILD_ARCH=x86_64;; aarch64) BUILD_ARCH=aarch64;; arm64) BUILD_ARCH=aarch64;; + amd64) BUILD_ARCH=x86_64;; *) echo -e "${RED}Unknown host architecture: ${HOST_ARCH}${NC}" echo -e "${YELLOW}Please specify target architecture with --arch${NC}" From 11bc8ff95727cbc8132f43f0d3d5f48f7703e00d Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 10:24:55 +0100 Subject: [PATCH 23/34] ci: Don't setup QEMU for both archs. Setup for matrix arch Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 373122fa8..81085623d 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -68,7 +68,7 @@ jobs: retention-days: 1 build-appimage: - name: Build AppImage (${{ matrix.arch }}) + name: Build AppImage (${{ matrix.arch.docker }}) needs: build-jar runs-on: ubuntu-latest @@ -89,14 +89,14 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: - platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.arch }} # Set up Docker Buildx (required for multi-platform builds) - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: install: true - platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.arch }} - name: Verify Docker setup run: | From 38353ac153c102f84105b268460e907089427cc0 Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 11:26:05 +0100 Subject: [PATCH 24/34] ci: Fix mapping Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 81085623d..e3f467d03 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -89,14 +89,14 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: - platforms: ${{ matrix.arch }} + platforms: ${{ matrix.arch.docker }} # Set up Docker Buildx (required for multi-platform builds) - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: install: true - platforms: ${{ matrix.arch }} + platforms: ${{ matrix.arch.docker }} - name: Verify Docker setup run: | @@ -112,8 +112,8 @@ jobs: - name: Cache JDK download uses: actions/cache@v4 with: - path: jdk-21-${{ matrix.arch }} - key: jdk-21-${{ matrix.arch }} + path: jdk-21-${{ matrix.arch.docker }} + key: jdk-21-${{ matrix.arch.docker }} - name: Download JARs uses: actions/download-artifact@v4 @@ -124,13 +124,13 @@ jobs: - name: Make build script executable run: chmod +x misc/build-appimage.sh - - name: Build AppImage for ${{ matrix.arch }} + - name: Build AppImage for ${{ matrix.arch.docker }} run: | - misc/build-appimage.sh --arch ${{ matrix.arch }} ${{ needs.build-jar.outputs.version }} + misc/build-appimage.sh --arch ${{ matrix.arch.docker }} ${{ needs.build-jar.outputs.version }} - name: Verify AppImage run: | - APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" + APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch.docker }}.AppImage" if [ ! -f "$APPIMAGE" ]; then echo "❌ Error: AppImage not found: $APPIMAGE" ls -la *.AppImage 2>/dev/null || echo "No AppImages found" @@ -142,14 +142,14 @@ jobs: - name: Upload AppImage artifact uses: actions/upload-artifact@v4 with: - name: appimage-${{ matrix.arch }} - path: ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage + name: appimage-${{ matrix.arch.docker }} + path: ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch.docker }}.AppImage if-no-files-found: error retention-days: 1 - name: Generate checksums run: | - APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" + APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch.docker }}.AppImage" sha256sum "$APPIMAGE" > "$APPIMAGE.sha256" echo "Checksum generated:" cat "$APPIMAGE.sha256" @@ -157,7 +157,7 @@ jobs: - name: Upload checksums uses: actions/upload-artifact@v4 with: - name: appimage-${{ matrix.arch }}-checksum + name: appimage-${{ matrix.arch.docker}}-checksum path: "*.sha256" retention-days: 1 From d6934e52d148c2a23142515f88f4978ee05363f8 Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 11:51:00 +0100 Subject: [PATCH 25/34] ci: Try with dedicated binfmt install Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index e3f467d03..b62ef7d7b 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -89,14 +89,14 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: - platforms: ${{ matrix.arch.docker }} + platforms: linux/${{ matrix.arch.docker }},${{ matrix.arch.docker }} # Set up Docker Buildx (required for multi-platform builds) - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: - install: true - platforms: ${{ matrix.arch.docker }} + version: latest + platforms: linux/${{ matrix.arch.docker }},${{ matrix.arch.docker }} - name: Verify Docker setup run: | @@ -126,6 +126,7 @@ jobs: - name: Build AppImage for ${{ matrix.arch.docker }} run: | + docker run --privileged --rm tonistiigi/binfmt --install arm64,arm misc/build-appimage.sh --arch ${{ matrix.arch.docker }} ${{ needs.build-jar.outputs.version }} - name: Verify AppImage From 64a4a5be1b8cf1f1435f2a34fcc7282a647647bd Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 12:45:39 +0100 Subject: [PATCH 26/34] ci: Revert script to arch dependance. Use arch action in workflow Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 113 +++++++-------- misc/build-appimage.sh | 247 ++++++++++----------------------- 2 files changed, 122 insertions(+), 238 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index b62ef7d7b..fdf2c3265 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -68,7 +68,7 @@ jobs: retention-days: 1 build-appimage: - name: Build AppImage (${{ matrix.arch.docker }}) + name: Build AppImage (${{ matrix.arch }}) needs: build-jar runs-on: ubuntu-latest @@ -76,8 +76,8 @@ jobs: fail-fast: false matrix: arch: - - docker: amd64 - - docker: arm64 + - x86_64 + - aarch64 steps: - name: Checkout code @@ -85,53 +85,42 @@ jobs: with: fetch-depth: 0 - # Set up QEMU for cross-platform builds (enables ARM64 emulation on x86_64) - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - with: - platforms: linux/${{ matrix.arch.docker }},${{ matrix.arch.docker }} - - # Set up Docker Buildx (required for multi-platform builds) - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - with: - version: latest - platforms: linux/${{ matrix.arch.docker }},${{ matrix.arch.docker }} - - - name: Verify Docker setup - run: | - echo "=== Docker Information ===" - docker --version - echo "" - echo "=== Docker Buildx ===" - docker buildx version - echo "" - echo "=== Available Platforms ===" - docker buildx inspect --bootstrap | grep Platforms || true - - - name: Cache JDK download - uses: actions/cache@v4 - with: - path: jdk-21-${{ matrix.arch.docker }} - key: jdk-21-${{ matrix.arch.docker }} - - name: Download JARs uses: actions/download-artifact@v4 with: name: gradle-jars path: . - - name: Make build script executable - run: chmod +x misc/build-appimage.sh + - name: Cache JDK download + uses: actions/cache@v4 + with: + path: jdk-21-${{ matrix.arch }} + key: jdk-21-${{ matrix.arch }} - - name: Build AppImage for ${{ matrix.arch.docker }} - run: | - docker run --privileged --rm tonistiigi/binfmt --install arm64,arm - misc/build-appimage.sh --arch ${{ matrix.arch.docker }} ${{ needs.build-jar.outputs.version }} + - name: Build AppImage for ${{ matrix.arch }} + uses: uraimo/run-on-arch-action@v2 + with: + arch: ${{ matrix.arch }} + distro: ubuntu22.04 + # Share the workspace and cache into the container + githubToken: ${{ github.token }} + dockerRunArgs: | + --volume "${{ github.workspace }}:/work" + env: | + APP_VERSION: ${{ needs.build-jar.outputs.version }} + install: | + apt-get update -q + apt-get install -y --no-install-recommends \ + wget file libglib2.0-0 libfuse2 \ + desktop-file-utils tar + run: | + cd /work + chmod +x misc/build-appimage.sh + misc/build-appimage.sh "${APP_VERSION}" - name: Verify AppImage run: | - APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch.docker }}.AppImage" + APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" if [ ! -f "$APPIMAGE" ]; then echo "❌ Error: AppImage not found: $APPIMAGE" ls -la *.AppImage 2>/dev/null || echo "No AppImages found" @@ -140,25 +129,25 @@ jobs: echo "✅ AppImage created successfully:" ls -lh "$APPIMAGE" - - name: Upload AppImage artifact - uses: actions/upload-artifact@v4 - with: - name: appimage-${{ matrix.arch.docker }} - path: ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch.docker }}.AppImage - if-no-files-found: error - retention-days: 1 - - name: Generate checksums run: | - APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch.docker }}.AppImage" + APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" sha256sum "$APPIMAGE" > "$APPIMAGE.sha256" echo "Checksum generated:" cat "$APPIMAGE.sha256" + - name: Upload AppImage artifact + uses: actions/upload-artifact@v4 + with: + name: appimage-${{ matrix.arch }} + path: ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage + if-no-files-found: error + retention-days: 1 + - name: Upload checksums uses: actions/upload-artifact@v4 with: - name: appimage-${{ matrix.arch.docker}}-checksum + name: appimage-${{ matrix.arch }}-checksum path: "*.sha256" retention-days: 1 @@ -231,25 +220,25 @@ jobs: - name: Collect files run: | mkdir continuous - + echo "=== Collecting AppImages ===" - find artifacts/appimage-x86_64 -name "*.AppImage" -exec cp -v {} continuous/ \; 2>/dev/null || echo "No x86_64 AppImages" + find artifacts/appimage-x86_64 -name "*.AppImage" -exec cp -v {} continuous/ \; 2>/dev/null || echo "No x86_64 AppImages" find artifacts/appimage-aarch64 -name "*.AppImage" -exec cp -v {} continuous/ \; 2>/dev/null || echo "No aarch64 AppImages" - + echo "" echo "=== Collecting Checksums ===" find artifacts -name "*.sha256" -exec cp -v {} continuous/ \; 2>/dev/null || echo "No checksums" - + echo "" echo "=== Collecting JARs ===" find artifacts/gradle-jars -name "*.jar" ! -name "*-plain.jar" -exec cp -v {} continuous/ \; 2>/dev/null || echo "No JARs" - + echo "" echo "=== Collecting Install4J Media ===" cp artifacts/install4j-media/*.dmg continuous/ 2>/dev/null || echo "No DMG files" cp artifacts/install4j-media/*.sh continuous/ 2>/dev/null || echo "No SH files" cp artifacts/install4j-media/*.exe continuous/ 2>/dev/null || echo "No EXE files" - + echo "" echo "=== Final Contents ===" ls -lh continuous/ @@ -281,16 +270,16 @@ jobs: artifacts: "continuous/*" body: | ## 🔄 Continuous Dev-Build - + **Built:** ${{ steps.build_time.outputs.timestamp }} **Commit:** `${{ github.sha }}` - + --- - + This is an automated development build, updated every time changes are pushed to `develop`. - + ⚠️ **Warning:** Do not use unless you have been told to, or are curious about the contents of the dev build. - + 🚫 **Do not link to this release.** commit: "develop" name: "continuous" @@ -319,4 +308,4 @@ jobs: host: ${{ secrets.SPCUPLOAD_HOST }} remote: "${{ secrets.SPCUPLOAD_TARGET }}" user: ${{ secrets.SPCUPLOAD_USERNAME }} - key: ${{ secrets.SPCUPLOAD_KEY }} + key: ${{ secrets.SPCUPLOAD_KEY }} \ No newline at end of file diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index 9e6820ab3..fc1e116cd 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -2,7 +2,7 @@ # Build-Script for Java 21 apps as AppImages # Builds a gradle-based application into an AppImage and includes a Java 21 JDK in it -# Supports cross-platform builds via Docker (x86_64 and aarch64) +# Builds natively for the host architecture (no Docker, no cross-compilation) set -e @@ -16,7 +16,6 @@ YELLOW='\033[1;33m' NC='\033[0m' # No Color # Default values -TARGET_ARCH="" APP_VERSION="dev" # Parse arguments @@ -25,31 +24,20 @@ while [[ $# -gt 0 ]]; do -h|--help) echo "Usage: $0 [OPTIONS] [VERSION]" echo "" - echo "Builds an AppImage for the specified target architecture using Docker." + echo "Builds an AppImage natively for the host architecture." echo "" echo "Options:" - echo " -a, --arch ARCH Target architecture (x86_64 or aarch64)" - echo " If not specified, uses BUILD_ARCH env var or host arch" echo " -h, --help Show this help message" echo "" echo "Arguments:" echo " VERSION Version string (default: 'dev')" echo "" echo "Examples:" - echo " $0 # Build for host architecture, version 'dev'" - echo " $0 1.0.0 # Build for host architecture, version '1.0.0'" - echo " $0 --arch aarch64 1.0.0 # Build for ARM64, version '1.0.0'" - echo " $0 -a x86_64 2.1.3 # Build for x86_64, version '2.1.3'" - echo "" - echo "Environment Variables:" - echo " BUILD_ARCH Alternative way to specify target architecture" + echo " $0 # Build for host architecture, version 'dev'" + echo " $0 1.0.0 # Build for host architecture, version '1.0.0'" echo "" exit 0 ;; - -a|--arch) - TARGET_ARCH="$2" - shift 2 - ;; -*) echo -e "${RED}Unknown option: $1${NC}" echo "Use --help for usage information" @@ -66,59 +54,45 @@ echo -e "${GREEN}Script-Dir: $SCRIPT_DIR" echo -e "${GREEN}Project-Root: $PROJECT_ROOT" echo "" -# Determine target architecture -if [ -n "$TARGET_ARCH" ]; then - # CLI argument takes precedence - BUILD_ARCH="$TARGET_ARCH" -elif [ -n "$BUILD_ARCH" ]; then - # Use environment variable if set - BUILD_ARCH="$BUILD_ARCH" -else - # Fall back to host architecture - HOST_ARCH="$(uname -m)" - case "${HOST_ARCH}" in - x86_64) BUILD_ARCH=x86_64;; - aarch64) BUILD_ARCH=aarch64;; - arm64) BUILD_ARCH=aarch64;; - amd64) BUILD_ARCH=x86_64;; - *) - echo -e "${RED}Unknown host architecture: ${HOST_ARCH}${NC}" - echo -e "${YELLOW}Please specify target architecture with --arch${NC}" - exit 1 - ;; - esac - echo -e "${YELLOW}No target architecture specified, using host architecture${NC}" -fi - -# Validate and normalize architecture -case "${BUILD_ARCH}" in +# Determine host architecture and map to AppImage arch names +HOST_ARCH="$(uname -m)" +case "${HOST_ARCH}" in x86_64|amd64) BUILD_ARCH=x86_64 + JDK_ARCH=x64 + APPIMAGETOOL_ARCH=x86_64 ;; aarch64|arm64) BUILD_ARCH=aarch64 + JDK_ARCH=aarch64 + APPIMAGETOOL_ARCH=aarch64 ;; *) - echo -e "${RED}Invalid architecture: ${BUILD_ARCH}${NC}" + echo -e "${RED}Unsupported host architecture: ${HOST_ARCH}${NC}" echo -e "${YELLOW}Supported architectures: x86_64, aarch64${NC}" exit 1 ;; esac -# Detect OS (for informational purposes only) +# Detect OS OS="$(uname -s)" case "${OS}" in - Linux*) MACHINE=Linux;; - Darwin*) MACHINE=Mac;; - *) MACHINE="UNKNOWN:${OS}" + Linux*) MACHINE=Linux;; + Darwin*) MACHINE=Mac;; + *) MACHINE="UNKNOWN:${OS}" esac -HOST_ARCH="$(uname -m)" echo -e "${GREEN}Host OS: $MACHINE ($HOST_ARCH)${NC}" -echo -e "${GREEN}Target Architecture: $BUILD_ARCH${NC}" +echo -e "${GREEN}Build Architecture: $BUILD_ARCH${NC}" echo -e "${GREEN}Build Version: ${APP_VERSION}${NC}" echo "" +if [ "$MACHINE" != "Linux" ]; then + echo -e "${RED}AppImages can only be built on Linux!${NC}" + echo -e "${YELLOW}Please run this script on a Linux system (e.g. a GitHub Actions runner).${NC}" + exit 1 +fi + # Configuration APP_NAME="ServerPackCreator" APP_DIR="${APP_NAME}.AppDir" @@ -130,28 +104,17 @@ GRADLE_TASK="build" GRADLE_ARGS="--info --full-stacktrace --warning-mode all -x :serverpackcreator-api:test -x :serverpackcreator-app:test" BUILD_DIR="serverpackcreator-app/build/libs" JDK_VERSION="21" - -# Set JDK URL and Docker platform based on target architecture -if [ "$BUILD_ARCH" = "x86_64" ]; then - JDK_URL="https://api.adoptium.net/v3/binary/latest/21/ga/linux/x64/jdk/hotspot/normal/eclipse" - JDK_DIR="jdk-${JDK_VERSION}-${BUILD_ARCH}" - APPIMAGE_ARCH=${BUILD_ARCH} - DOCKER_PLATFORM="linux/amd64" - APPIMAGETOOL_ARCH="x86_64" -elif [ "$BUILD_ARCH" = "aarch64" ]; then - JDK_URL="https://api.adoptium.net/v3/binary/latest/21/ga/linux/aarch64/jdk/hotspot/normal/eclipse" - JDK_DIR="jdk-${JDK_VERSION}-${BUILD_ARCH}" - APPIMAGE_ARCH=${BUILD_ARCH} - DOCKER_PLATFORM="linux/arm64" - APPIMAGETOOL_ARCH="aarch64" -fi +JDK_URL="https://api.adoptium.net/v3/binary/latest/${JDK_VERSION}/ga/linux/${JDK_ARCH}/jdk/hotspot/normal/eclipse" +JDK_DIR="jdk-${JDK_VERSION}-${BUILD_ARCH}" +APPIMAGETOOL_URL="https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-${APPIMAGETOOL_ARCH}.AppImage" +APPIMAGETOOL_BIN="./appimagetool-${BUILD_ARCH}.AppImage" # Cleanup function cleanup() { - echo -e "${YELLOW}Cleaning up temporary files...${NC}" - rm -rf "$APP_DIR" - rm -f Dockerfile.appimage "${APP_DIR}.tar.gz" - echo -e "${GREEN}Cleanup done.${NC}" + echo -e "${YELLOW}Cleaning up temporary files...${NC}" + rm -rf "$APP_DIR" + rm -f squashfs-root + echo -e "${GREEN}Cleanup done.${NC}" } trap cleanup EXIT @@ -166,50 +129,51 @@ if [ ! -f "./gradlew" ]; then echo -e "${YELLOW}Ensure it's present in the root directory of the project.${NC}" exit 1 fi - chmod +x ./gradlew -# Docker is always required now (for consistent cross-platform builds) -if ! command -v docker &> /dev/null; then - echo -e "${RED}Docker not found!${NC}" - echo -e "${YELLOW}Docker is required to build AppImages.${NC}" - if [ "$MACHINE" = "Mac" ]; then - echo -e "${YELLOW}Install Docker Desktop: https://www.docker.com/products/docker-desktop${NC}" - else - echo -e "${YELLOW}Install Docker: https://docs.docker.com/engine/install/${NC}" +for cmd in wget curl tar file; do + if ! command -v "$cmd" &> /dev/null; then + echo -e "${YELLOW}Warning: '$cmd' not found.${NC}" fi - exit 1 -fi - -echo -e "${GREEN}Docker found - Version: $(docker --version)${NC}" +done -# Check if docker daemon is running -if ! docker info &> /dev/null; then - echo -e "${RED}Docker daemon is not running!${NC}" - echo -e "${YELLOW}Please start Docker and try again.${NC}" - exit 1 +# Download appimagetool if not present +echo -e "${YELLOW}Checking appimagetool for ${BUILD_ARCH}...${NC}" +if [ ! -f "$APPIMAGETOOL_BIN" ]; then + echo -e "${YELLOW}Downloading appimagetool...${NC}" + if command -v wget &> /dev/null; then + wget -O "$APPIMAGETOOL_BIN" "$APPIMAGETOOL_URL" + elif command -v curl &> /dev/null; then + curl -L -o "$APPIMAGETOOL_BIN" "$APPIMAGETOOL_URL" + else + echo -e "${RED}Neither wget nor curl found. Please install one of them.${NC}" + exit 1 + fi + chmod +x "$APPIMAGETOOL_BIN" + echo -e "${GREEN}appimagetool downloaded.${NC}" +else + echo -e "${GREEN}appimagetool already present.${NC}" fi -# Notify about cross-compilation if applicable -if [ "$HOST_ARCH" != "$BUILD_ARCH" ]; then - echo -e "${YELLOW}Cross-compilation detected: Building $BUILD_ARCH on $HOST_ARCH${NC}" - echo -e "${YELLOW}This may take longer due to QEMU emulation...${NC}" -fi +# Extract appimagetool (AppImages can't run directly without FUSE; extract and use directly) +echo -e "${YELLOW}Extracting appimagetool...${NC}" +rm -rf squashfs-root +"$APPIMAGETOOL_BIN" --appimage-extract > /dev/null +APPIMAGETOOL="$(pwd)/squashfs-root/AppRun" +echo -e "${GREEN}appimagetool ready.${NC}" # Download JDK -echo -e "${YELLOW}Checking Java 21 JDK for ${BUILD_ARCH}...${NC}" +echo -e "${YELLOW}Checking Java ${JDK_VERSION} JDK for ${BUILD_ARCH}...${NC}" if [ ! -d "$JDK_DIR" ]; then - echo -e "${YELLOW}Downloading Java 21 JDK for ${BUILD_ARCH}...${NC}" - + echo -e "${YELLOW}Downloading Java ${JDK_VERSION} JDK for ${BUILD_ARCH}...${NC}" if command -v wget &> /dev/null; then wget -O jdk.tar.gz "$JDK_URL" elif command -v curl &> /dev/null; then curl -L -o jdk.tar.gz "$JDK_URL" else - echo -e "${RED}Neither wget nor curl was found. Please install one of them.${NC}" + echo -e "${RED}Neither wget nor curl found. Please install one of them.${NC}" exit 1 fi - echo -e "${YELLOW}Extracting JDK...${NC}" mkdir -p "$JDK_DIR" tar -xzf jdk.tar.gz -C "$JDK_DIR" --strip-components=1 @@ -238,7 +202,6 @@ else echo -e "${RED}No JAR file found in $BUILD_DIR${NC}" exit 1 fi - echo -e "${GREEN}JAR created: $JAR_FILE${NC}" fi @@ -387,90 +350,22 @@ EOF chmod +x "$APP_DIR/AppRun" -# ================== -# Docker-based Build -# ================== -echo -e "${YELLOW}Creating AppImage for ${APPIMAGE_ARCH} using Docker...${NC}" -echo -e "${YELLOW}Platform: ${DOCKER_PLATFORM}${NC}" -rm -f ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage - -# Create Dockerfile (downloads appimagetool, does NOT extract during build) -cat > Dockerfile.appimage << DOCKERFILE_EOF -FROM --platform=${DOCKER_PLATFORM} ubuntu:22.04 -RUN apt-get update && apt-get install -y \ - wget file libglib2.0-0 libfuse2 libcairo2 \ - libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils \ - && rm -rf /var/lib/apt/lists/* -RUN wget -O /usr/local/bin/appimagetool.AppImage \ - https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-${APPIMAGETOOL_ARCH}.AppImage && \ - chmod +x /usr/local/bin/appimagetool.AppImage -WORKDIR /work -DOCKERFILE_EOF - -# Build Docker image -DOCKER_IMAGE_NAME="appimage-builder-${BUILD_ARCH}" -if docker images | grep -q "$DOCKER_IMAGE_NAME"; then - echo -e "${GREEN}Using cached Docker image: $DOCKER_IMAGE_NAME${NC}" -else - echo -e "${YELLOW}Building Docker image (${BUILD_ARCH})...${NC}" - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - docker buildx build \ - --platform=${DOCKER_PLATFORM} \ - --load \ - -t $DOCKER_IMAGE_NAME \ - -f Dockerfile.appimage \ - . -fi - -# Pack APP_DIR -echo -e "${YELLOW}Packing APP_DIR for Docker transfer...${NC}" -tar -czf "${APP_DIR}.tar.gz" "$APP_DIR" -echo -e "${GREEN}Archive created: $(du -sh "${APP_DIR}.tar.gz" | cut -f1)${NC}" - -# Verify JDK in archive -if tar -tzf "${APP_DIR}.tar.gz" 2>/dev/null | grep -q "jdk/bin/java"; then - echo -e "${GREEN}✓ JDK is present in archive${NC}" -else - echo -e "${RED}✗ ERROR: JDK is NOT present in archive!${NC}" - exit 1 -fi +# Build AppImage natively +echo -e "${YELLOW}Building AppImage natively for ${BUILD_ARCH}...${NC}" +OUTPUT_APPIMAGE="${APP_NAME}-${APP_VERSION}-${BUILD_ARCH}.AppImage" +rm -f "$OUTPUT_APPIMAGE" -# Run AppImage build in Docker (extract appimagetool at RUNTIME) -echo -e "${YELLOW}Building AppImage in Docker container...${NC}" -docker run --rm --platform=${DOCKER_PLATFORM} \ - --privileged \ - -v "$(pwd)/${APP_DIR}.tar.gz:/work/appdir.tar.gz" \ - -v "$(pwd):/output" \ - $DOCKER_IMAGE_NAME \ - sh -c ' - set -e - echo "Extracting appimagetool..." - cd /usr/local/bin - ./appimagetool.AppImage --appimage-extract - ln -sf /usr/local/bin/squashfs-root/AppRun /usr/local/bin/appimagetool - - echo "Extracting APP_DIR..." - cd /work - tar -xzf appdir.tar.gz - - echo "Building AppImage..." - cd /output - ARCH='"${APPIMAGE_ARCH}"' appimagetool /work/'"${APP_DIR}"' '"${APP_NAME}"'-'"${APP_VERSION}"'-'"${APPIMAGE_ARCH}"'.AppImage - ' - -rm -f "${APP_DIR}.tar.gz" +ARCH=${BUILD_ARCH} "$APPIMAGETOOL" "$APP_DIR" "$OUTPUT_APPIMAGE" # Verify AppImage -if [ -f "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" ]; then - echo -e "${GREEN}✓ AppImage created successfully${NC}" - APPIMAGE_SIZE=$(du -h "${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage" | cut -f1) - +if [ -f "$OUTPUT_APPIMAGE" ]; then + APPIMAGE_SIZE=$(du -h "$OUTPUT_APPIMAGE" | cut -f1) echo -e "${GREEN}=== Success! ===${NC}" - echo -e "${GREEN}AppImage: ${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage${NC}" + echo -e "${GREEN}AppImage: ${OUTPUT_APPIMAGE}${NC}" echo -e "${GREEN}Size: ${APPIMAGE_SIZE}${NC}" - echo -e "${GREEN}Target Architecture: ${APPIMAGE_ARCH}${NC}" - echo -e "${YELLOW}Test with: ./${APP_NAME}-${APP_VERSION}-${APPIMAGE_ARCH}.AppImage${NC}" + echo -e "${GREEN}Architecture: ${BUILD_ARCH}${NC}" + echo -e "${YELLOW}Test with: ./${OUTPUT_APPIMAGE}${NC}" else echo -e "${RED}✗ ERROR: AppImage was not created!${NC}" exit 1 -fi +fi \ No newline at end of file From 53ce89face73893ddcd20e6e084684087f7da422 Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 13:02:28 +0100 Subject: [PATCH 27/34] ci: Install required packages and split for x8664 and aarch64 Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index fdf2c3265..921368b23 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -97,12 +97,18 @@ jobs: path: jdk-21-${{ matrix.arch }} key: jdk-21-${{ matrix.arch }} - - name: Build AppImage for ${{ matrix.arch }} + - name: Build AppImage for x86_64 (native) + if: matrix.arch == 'x86_64' + run: | + chmod +x misc/build-appimage.sh + misc/build-appimage.sh "${{ needs.build-jar.outputs.version }}" + + - name: Build AppImage for aarch64 (emulated) + if: matrix.arch == 'aarch64' uses: uraimo/run-on-arch-action@v2 with: - arch: ${{ matrix.arch }} + arch: aarch64 distro: ubuntu22.04 - # Share the workspace and cache into the container githubToken: ${{ github.token }} dockerRunArgs: | --volume "${{ github.workspace }}:/work" @@ -110,9 +116,9 @@ jobs: APP_VERSION: ${{ needs.build-jar.outputs.version }} install: | apt-get update -q - apt-get install -y --no-install-recommends \ - wget file libglib2.0-0 libfuse2 \ - desktop-file-utils tar + apt-get install -y \ + wget file libglib2.0-0 libfuse2 libcairo2 tar \ + libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils run: | cd /work chmod +x misc/build-appimage.sh From 2a818cb439ad3a06e442e63647b99fc96ad6d074 Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 13:36:42 +0100 Subject: [PATCH 28/34] ci: Try with GitHubs new arm-runners Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 112 ++++++++++++++++++++++----------- misc/build-appimage.sh | 1 - 2 files changed, 75 insertions(+), 38 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 921368b23..d75721692 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -67,18 +67,11 @@ jobs: serverpackcreator-plugin-example/build/libs/*.jar retention-days: 1 - build-appimage: - name: Build AppImage (${{ matrix.arch }}) + build-appimage-x86_64: + name: Build AppImage (x86_64) needs: build-jar runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - arch: - - x86_64 - - aarch64 - steps: - name: Checkout code uses: actions/checkout@v6 @@ -94,39 +87,79 @@ jobs: - name: Cache JDK download uses: actions/cache@v4 with: - path: jdk-21-${{ matrix.arch }} - key: jdk-21-${{ matrix.arch }} + path: jdk-21-x86_64 + key: jdk-21-x86_64 - name: Build AppImage for x86_64 (native) - if: matrix.arch == 'x86_64' run: | chmod +x misc/build-appimage.sh misc/build-appimage.sh "${{ needs.build-jar.outputs.version }}" - - name: Build AppImage for aarch64 (emulated) - if: matrix.arch == 'aarch64' - uses: uraimo/run-on-arch-action@v2 + - name: Verify AppImage + run: | + APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-x86_64.AppImage" + if [ ! -f "$APPIMAGE" ]; then + echo "❌ Error: AppImage not found: $APPIMAGE" + ls -la *.AppImage 2>/dev/null || echo "No AppImages found" + exit 1 + fi + echo "✅ AppImage created successfully:" + ls -lh "$APPIMAGE" + + - name: Generate checksums + run: | + APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-x86_64.AppImage" + sha256sum "$APPIMAGE" > "$APPIMAGE.sha256" + echo "Checksum generated:" + cat "$APPIMAGE.sha256" + + - name: Upload AppImage artifact + uses: actions/upload-artifact@v4 + with: + name: appimage-x86_64 + path: ServerPackCreator-${{ needs.build-jar.outputs.version }}-x86_64.AppImage + if-no-files-found: error + retention-days: 1 + + - name: Upload checksums + uses: actions/upload-artifact@v4 + with: + name: appimage-x86_64-checksum + path: "*.sha256" + retention-days: 1 + + + build-appimage-aarch64: + name: Build AppImage (aarch64) + needs: build-jar + runs-on: ubuntu-24.04-arm + + steps: + - name: Checkout code + uses: actions/checkout@v6 with: - arch: aarch64 - distro: ubuntu22.04 - githubToken: ${{ github.token }} - dockerRunArgs: | - --volume "${{ github.workspace }}:/work" - env: | - APP_VERSION: ${{ needs.build-jar.outputs.version }} - install: | - apt-get update -q - apt-get install -y \ - wget file libglib2.0-0 libfuse2 libcairo2 tar \ - libpango-1.0-0 libgdk-pixbuf2.0-0 desktop-file-utils - run: | - cd /work - chmod +x misc/build-appimage.sh - misc/build-appimage.sh "${APP_VERSION}" + fetch-depth: 0 + + - name: Download JARs + uses: actions/download-artifact@v4 + with: + name: gradle-jars + path: . + + - name: Cache JDK download + uses: actions/cache@v4 + with: + path: jdk-21-aarch64 + key: jdk-21-aarch64 + + - name: Build AppImage for aarch64 + run: | + chmod +x misc/build-appimage.sh + misc/build-appimage.sh "${{ needs.build-jar.outputs.version }}" - name: Verify AppImage run: | - APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" + APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-aarch64.AppImage" if [ ! -f "$APPIMAGE" ]; then echo "❌ Error: AppImage not found: $APPIMAGE" ls -la *.AppImage 2>/dev/null || echo "No AppImages found" @@ -137,7 +170,7 @@ jobs: - name: Generate checksums run: | - APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage" + APPIMAGE="ServerPackCreator-${{ needs.build-jar.outputs.version }}-aarch64.AppImage" sha256sum "$APPIMAGE" > "$APPIMAGE.sha256" echo "Checksum generated:" cat "$APPIMAGE.sha256" @@ -145,15 +178,15 @@ jobs: - name: Upload AppImage artifact uses: actions/upload-artifact@v4 with: - name: appimage-${{ matrix.arch }} - path: ServerPackCreator-${{ needs.build-jar.outputs.version }}-${{ matrix.arch }}.AppImage + name: appimage-aarch64 + path: ServerPackCreator-${{ needs.build-jar.outputs.version }}-aarch64.AppImage if-no-files-found: error retention-days: 1 - name: Upload checksums uses: actions/upload-artifact@v4 with: - name: appimage-${{ matrix.arch }}-checksum + name: appimage-aarch64-checksum path: "*.sha256" retention-days: 1 @@ -209,7 +242,12 @@ jobs: continuous: name: "Continuous Pre-Release" - needs: [build-jar, build-appimage, build-media] + needs: [ + build-jar, + build-appimage-aarch64, + build-appimage-aarch64, + build-media + ] runs-on: ubuntu-latest steps: diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index fc1e116cd..a2deb2f80 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -157,7 +157,6 @@ fi # Extract appimagetool (AppImages can't run directly without FUSE; extract and use directly) echo -e "${YELLOW}Extracting appimagetool...${NC}" -rm -rf squashfs-root "$APPIMAGETOOL_BIN" --appimage-extract > /dev/null APPIMAGETOOL="$(pwd)/squashfs-root/AppRun" echo -e "${GREEN}appimagetool ready.${NC}" From c42ff723cebc63eabed6af6dcc5736ff41a9cb87 Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 13:40:02 +0100 Subject: [PATCH 29/34] ci: Fix missing step dependency Signed-off-by: Griefed --- .github/workflows/devbuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index d75721692..bf971a638 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -244,7 +244,7 @@ jobs: name: "Continuous Pre-Release" needs: [ build-jar, - build-appimage-aarch64, + build-appimage-x86_64, build-appimage-aarch64, build-media ] From 6ba4894215ba9d11419876cc83b1a4b9ff9c7fb1 Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 14:22:25 +0100 Subject: [PATCH 30/34] ci: Use -r for dir-delete. Remove domain-prefix from metadata Signed-off-by: Griefed --- misc/appdata.xml | 12 ++++++------ misc/build-appimage.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/misc/appdata.xml b/misc/appdata.xml index 4916292aa..d2e7e0057 100644 --- a/misc/appdata.xml +++ b/misc/appdata.xml @@ -1,10 +1,10 @@ - de.griefed.ServerPackCreator + ServerPackCreator MIT LGPL-2.1 ServerPackCreator - Create server packs from Minecraft modpacks + Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks.

ServerPackCreator creates a server pack from any given Forge, Fabric, Quilt, LegacyFabric and NeoForge modpack.

Whenever you are working on an update to your modpack, you simply run ServerPackCreator and BAM! You've got yourself a server pack for your new modpack version.

@@ -18,15 +18,15 @@
  • I (Griefed) will not be held responsible for errors in your server pack in general. Test your server packs before you ship them!
  • - de.griefed.ServerPackCreator.desktop + ServerPackCreator.desktop https://serverpackcreator.de https://github.com/Griefed/ServerPackCreator/issuess/ https://github.com/sponsors/Griefed https://help.serverpackcreator.de/help-topic.html - griefed_AT_griefed.de + github_AT_griefed.de - Manage your server pack configs + Create your server packs https://raw.githubusercontent.com/Griefed/ServerPackCreator/main/img/gui_dark.png @@ -36,7 +36,7 @@ Java - de.griefed.ServerPackCreator.desktop + ServerPackCreator.desktop Griefed diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index a2deb2f80..785c2aa87 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -113,7 +113,7 @@ APPIMAGETOOL_BIN="./appimagetool-${BUILD_ARCH}.AppImage" cleanup() { echo -e "${YELLOW}Cleaning up temporary files...${NC}" rm -rf "$APP_DIR" - rm -f squashfs-root + rm -rf squashfs-root echo -e "${GREEN}Cleanup done.${NC}" } From 5e09feb71e07d278afeb186bc44159d9c3b9ff24 Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 14:39:04 +0100 Subject: [PATCH 31/34] build: Fix AppImage metadata Signed-off-by: Griefed --- misc/appdata.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/appdata.xml b/misc/appdata.xml index d2e7e0057..bd50f2b96 100644 --- a/misc/appdata.xml +++ b/misc/appdata.xml @@ -4,7 +4,7 @@ MIT LGPL-2.1 ServerPackCreator - Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks. + Create server packs from Minecraft (Neo)Forge, (Legacy)Fabric or Quilt modpacks

    ServerPackCreator creates a server pack from any given Forge, Fabric, Quilt, LegacyFabric and NeoForge modpack.

    Whenever you are working on an update to your modpack, you simply run ServerPackCreator and BAM! You've got yourself a server pack for your new modpack version.

    @@ -20,7 +20,7 @@
    ServerPackCreator.desktop https://serverpackcreator.de - https://github.com/Griefed/ServerPackCreator/issuess/ + https://github.com/Griefed/ServerPackCreator/issues https://github.com/sponsors/Griefed https://help.serverpackcreator.de/help-topic.html github_AT_griefed.de From 33b74e375068d542b32f7afcbff62e8bbc8b0a59 Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 14:45:24 +0100 Subject: [PATCH 32/34] build: Fix cid-desktopapp-is-not-rdns in metadata Signed-off-by: Griefed --- misc/appdata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/appdata.xml b/misc/appdata.xml index bd50f2b96..54724d836 100644 --- a/misc/appdata.xml +++ b/misc/appdata.xml @@ -1,6 +1,6 @@ - ServerPackCreator + de.griefed.ServerPackCreator MIT LGPL-2.1 ServerPackCreator From 1f67c591c0fcf452d3057c084382aa80e4dd0843 Mon Sep 17 00:00:00 2001 From: Griefed Date: Sat, 21 Feb 2026 14:58:18 +0100 Subject: [PATCH 33/34] build: Fix metainfo-filename-cid-mismatch Signed-off-by: Griefed --- misc/build-appimage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build-appimage.sh b/misc/build-appimage.sh index 785c2aa87..ed781fef4 100755 --- a/misc/build-appimage.sh +++ b/misc/build-appimage.sh @@ -324,7 +324,7 @@ cp img/app.png "$APP_DIR/usr/share/icons/hicolor/512x512/apps/${APP_NAM cp img/app.svg "$APP_DIR/usr/share/icons/hicolor/scalable/apps/${APP_NAME}.svg" cp "$APP_DIR/usr/share/icons/hicolor/256x256/apps/${APP_NAME}.png" "$APP_DIR/${APP_NAME}.png" 2>/dev/null || true cp "$APP_DIR/usr/share/applications/${APP_NAME}.desktop" "$APP_DIR/${APP_NAME}.desktop" -cp misc/appdata.xml "$APP_DIR/usr/share/metainfo/${APP_NAME}.appdata.xml" +cp misc/appdata.xml "$APP_DIR/usr/share/metainfo/de.griefed.${APP_NAME}.appdata.xml" # Create AppRun cat > "$APP_DIR/AppRun" << EOF From eb88b33786f885028997dcc27ada53d5427530db Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Mar 2026 14:42:19 +0000 Subject: [PATCH 34/34] build(deps): bump org.junit.platform:junit-platform-launcher Bumps [org.junit.platform:junit-platform-launcher](https://github.com/junit-team/junit-framework) from 6.0.2 to 6.0.3. - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/compare/r6.0.2...r6.0.3) --- updated-dependencies: - dependency-name: org.junit.platform:junit-platform-launcher dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- serverpackcreator-plugin-example/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serverpackcreator-plugin-example/build.gradle.kts b/serverpackcreator-plugin-example/build.gradle.kts index ce7f3e019..66fe821b7 100644 --- a/serverpackcreator-plugin-example/build.gradle.kts +++ b/serverpackcreator-plugin-example/build.gradle.kts @@ -40,7 +40,7 @@ dependencies { // Testing testImplementation("org.jetbrains.kotlin:kotlin-test-junit5:2.3.10") - testRuntimeOnly("org.junit.platform:junit-platform-launcher:6.0.2") + testRuntimeOnly("org.junit.platform:junit-platform-launcher:6.0.3") } tasks.processResources {