Maven Central artifacts for the WebAssembly builds of the Craft apps. Java applications can embed the editors and serve them from the classpath.
This repository does not build the apps. It watches their GitHub releases, verifies the published web archive and republishes it unchanged as a signed jar.
| Artifact | Upstream | Contents |
|---|---|---|
de.inetsoftware:gridcraft-web |
storytold/gridcraft | spreadsheet editor |
de.inetsoftware:wordcraft-web |
storytold/wordcraft | word processor |
de.inetsoftware:deckcraft-web |
storytold/deckcraft | presentation editor |
The version is the upstream version: gridcraft-web-0.11.1.jar contains gridcraft-web-0.11.1.zip from the upstream release v0.11.1.
dependencies {
implementation 'de.inetsoftware:gridcraft-web:0.11.1'
}
The jar contains the files of the web archive under META-INF/resources/craft/<app>/, for example META-INF/resources/craft/gridcraft/index.html. Servlet 3 containers serve META-INF/resources automatically. Otherwise read the files with ClassLoader.getResource.
Serve .wasm files as application/wasm. HOSTING.md and the _headers file from upstream describe the headers the app expects. Both are part of the jar.
The licenses of the app are in META-INF/licenses/<app>/.
upstream release ──► plan ──► download + SHA-256 check ──► jar ──► Maven Central ──► tag here
(weekly)
sync.ymlruns on Mondays at 06:17 UTC and on demand. Each artifact has a seven-day cooldown. Manual runs can enableoverride_cooldownto publish earlier (also enablereleaseto publish to Central). Duplicate and reservation checks always remain active.scripts/plan.shreadsapps.ymland lists the final releases of each upstream repository. It selects only the newest stable release with a web archive. Git tags, reserved draft releases and Maven Central metadata prevent publishing the same version twice; API and metadata errors stop the run.scripts/fetch.shdownloads the web archive and compares it with theSHA256SUMS.txtof the same release. A missing entry or a different checksum stops the run.build.gradlerepackages the archive, signs it and uploads it with the Sonatype Central Portal staging API.- Before uploading, the workflow reserves the version with a draft release. Failed or ambiguous uploads keep this reservation; check Central and the workflow result before removing it to retry. Only after a successful upload the workflow creates the tag and a GitHub release with the jar attached. If the marker step fails after publishing, Maven Central metadata still prevents a duplicate publication.
At most one version per app is selected per run. Older releases are not backfilled. Maven Central metadata and GitHub release/reservation timestamps enforce the cooldown.
The checksum comes from the same GitHub release as the archive. It protects against a damaged download, not against a compromised upstream release. The upstream repositories do not publish build attestations at the moment. If they do, add gh attestation verify to scripts/fetch.sh.
The jar adds nothing to the archive. It only moves the files to META-INF/resources/craft/<app>/ and the license files to META-INF/licenses/<app>/.
Append an entry to apps.yml and open a pull request. The entry needs a repository that publishes a web archive and a SHA256SUMS.txt with every release. Set since to the first version you want. Older releases are ignored.
Maven Central versions cannot be changed or deleted. Check the first version in a local run before you merge.
Repository secrets, same as for JLessC:
| Secret | Content |
|---|---|
SONATYPE_USERNAME, SONATYPE_PASSWORD |
token of the Central Portal account that owns the namespace de.inetsoftware |
SIGNING_KEY, SIGNING_PASSWORD |
ASCII-armored private PGP key and its passphrase |
Scheduled workflows run for free in public repositories. GitHub disables them after 60 days without repository activity; start the workflow manually to enable it again.
Needs JDK 17 or newer, Gradle 8.14, gh, jq and yq. The project has no Gradle wrapper; the workflows install Gradle 8.14.3. This builds one jar into build/repo without credentials and without publishing:
scripts/fetch.sh storytold/gridcraft 0.11.1 gridcraft-web-0.11.1.zip build/input
gradle -PskipJPP \
-PappId=gridcraft -PappName='GridCraft Web' -PappDescription='Browser build of GridCraft.' \
-PappUpstream=storytold/gridcraft -PappArtifactId=gridcraft-web \
-PappVersion=0.11.1 -PappAsset=gridcraft-web-0.11.1.zip -PinputDir=build/input \
publishAllPublicationsToBuildRepository
To see which releases the next run would publish:
GITHUB_REPOSITORY=i-net-software/craft-web GH_TOKEN=$(gh auth token) scripts/plan.sh
The scripts and build files in this repository are under the MIT License. The republished apps are by their authors, licensed under MIT OR Apache-2.0. Each jar carries the license texts of its app.