1 Build FR
audit-bot edited this page 2026-07-19 19:50:32 +02:00

FR | EN

Build

Prérequis

  • JDK 25 (JAVA_HOME pointé dessus)
  • Gradle 9.4.1 (wrapper fourni — attention, la base Lophine ship gradlew sans le bit exécutable : utiliser sh ./gradlew)
  • Les forks paperweight/paperclip de la lignée Luminol : Hyacinthusweight 2.0.15 et Hyacinthusclip 3.0.18, publiés en local. LuminolMC étant mort, des mirrors de sauvegarde sont maintenus sur forgejo.ekaii.fr/mc-upstreams/.

Compilation

export JAVA_HOME=/opt/homebrew/opt/openjdk/libexec/openjdk.jdk/Contents/Home  # JDK 25

# 1. paperweight/paperclip forks -> mavenLocal (mirrors de sauvegarde)
git clone https://forgejo.ekaii.fr/mc-upstreams/Hyacinthusweight.git /tmp/hw && (cd /tmp/hw && sh ./gradlew publishToMavenLocal)
git clone https://forgejo.ekaii.fr/mc-upstreams/Hyacinthusclip.git   /tmp/hc && (cd /tmp/hc && sh ./gradlew publishToMavenLocal)

# 2. build du fork
cd luminol
sh ./gradlew applyAllPatches
sh ./gradlew --no-configuration-cache createPaperclipJar
  • Sortie : luminol/lophine-server/build/libs/lophine-paperclip-26.2*.jar (nom paperclip interne hérité de Lophine ; le brand serveur affiché est configurable via misc.server_mod_name = "Folikaii").
  • BUILD_NUMBER=<n> produit une version 26.2.build.<n>-stable (sinon 26.2.local-SNAPSHOT).
  • Build de référence : applyAllPatches clean + createPaperclipJar vert (JDK 25).

CI (Forgejo Actions)

Workflow Rôle
build.yml Build du paperclip sur push ekaii-26.2/main + tags v*. Clone les mirrors mc-upstreams via le secret MC_UPSTREAMS_TOKEN, release sur tag. Runner : ubuntu-latest sur lesannes (jamais sur le NAS).
upstream-watch.yml Surveille la dérive de Lophine exp/26.2-hardfork, ouvre/ferme une issue de drift. Non-destructif.

Repos

Composant Forgejo (canonique) Mirror GitHub
Fork forgejo.ekaii.fr/exo/folikaii github.com/uncaney/*
Mirrors upstream (sauvegarde) forgejo.ekaii.fr/mc-upstreams/*

Release de référence : v26.2-ekaii-0.3.0 = base + picks + batch 5 (build.316).