Archive incari-client (client, 26.3, clean)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# The Gradle daemon runs on JDK 25, like CI: the formatter uses javac internals that change
|
||||
# between JDK releases, and TeaVM 0.16 reads class files of at least Java 25.
|
||||
toolchainVersion=25
|
||||
@@ -0,0 +1,97 @@
|
||||
[versions]
|
||||
# Pinned exactly: patches are diffs against Vineflower's output, so a different
|
||||
# decompiler version means different vendor source and patches that no longer apply.
|
||||
vineflower = "1.12.0"
|
||||
teavm = "0.16.0"
|
||||
# Must match the LWJGL version in Minecraft's version JSON: platform-desktop compiles against
|
||||
# these jars, and the game runs with Mojang's copies of the same version.
|
||||
lwjgl = "3.4.3"
|
||||
# Netty. Mojang's version JSON ships 4.2.16, which the desktop game runs; :net compiles against
|
||||
# these jars. The browser build links this version instead (tools/webbuild's class loader sees it
|
||||
# through :tools:wsbridge before the game's jars), so it carries 4.2.18's security fixes. Don't go
|
||||
# to 4.2.19: its pipeline asserts Thread.holdsLock, which TeaVM can't satisfy, and every web
|
||||
# connection failed (probes/EventLoopProbe). 4.2.21 also adds java.lang.foreign cleaners and a
|
||||
# ProcessHandle pid that TeaVM can't link. Run that probe after any Netty bump.
|
||||
netty = "4.2.18.Final"
|
||||
asm = "9.11.1"
|
||||
# The Via stack the client runs (ADR 0017): ViaVersion translates for older servers,
|
||||
# ViaBackwards for newer ones. Pinned together: ViaBackwards is built against this ViaVersion.
|
||||
viaversion = "5.12.2"
|
||||
viabackwards = "5.12.2"
|
||||
# Must match the version in Minecraft's version JSON: :via compiles against it (Via's own signatures
|
||||
# use it), and the game runs with Mojang's copy.
|
||||
guava = "33.6.0-jre"
|
||||
gson = "2.14.0"
|
||||
jspecify = "1.0.1"
|
||||
# Bouncy Castle (MIT): TLS for Microsoft sign-in over a Wisp stream (ADR 0070), and the browser
|
||||
# build's AES, RSA and SHA256withRSA (web-classlib). bctls ships with bcprov/bcutil; bump together.
|
||||
bouncycastle = "1.87"
|
||||
bouncycastle-tls = "1.87"
|
||||
junit = "6.1.3"
|
||||
assertj = "3.27.7"
|
||||
archunit = "1.5.1"
|
||||
errorprone = "2.52.0"
|
||||
nullaway = "0.14.4"
|
||||
# 2.99.0 needs javac internals from JDK 26+; the build runs on JDK 25.
|
||||
palantir-java-format = "2.98.0"
|
||||
# Annotations Mojang compiled against but doesn't ship. Compile-only, for the vendor tree.
|
||||
jetbrains-annotations = "26.1.0"
|
||||
jsr305 = "3.0.2"
|
||||
|
||||
[libraries]
|
||||
vineflower = { module = "org.vineflower:vineflower", version.ref = "vineflower" }
|
||||
teavm-tooling = { module = "org.teavm:teavm-tooling", version.ref = "teavm" }
|
||||
teavm-core = { module = "org.teavm:teavm-core", version.ref = "teavm" }
|
||||
teavm-classlib = { module = "org.teavm:teavm-classlib", version.ref = "teavm" }
|
||||
teavm-jso = { module = "org.teavm:teavm-jso", version.ref = "teavm" }
|
||||
teavm-jso-apis = { module = "org.teavm:teavm-jso-apis", version.ref = "teavm" }
|
||||
teavm-jso-impl = { module = "org.teavm:teavm-jso-impl", version.ref = "teavm" }
|
||||
teavm-interop = { module = "org.teavm:teavm-interop", version.ref = "teavm" }
|
||||
teavm-extension-spi = { module = "org.teavm:teavm-extension-spi", version.ref = "teavm" }
|
||||
teavm-wasm-gc-deobfuscator = { module = "org.teavm:teavm-wasm-gc-deobfuscator", version.ref = "teavm" }
|
||||
# The deflate engine under TeaVM 0.16's zip classes, in the version teavm-classlib depends on.
|
||||
jzlib = { module = "com.jcraft:jzlib", version = "1.1.3" }
|
||||
# java.time for the browser build: TeaVM's class library maps java.time onto it.
|
||||
threetenbp = { module = "org.threeten:threetenbp", version = "1.7.5" }
|
||||
# The SLF4J API Minecraft ships; web-classlib binds it to the console.
|
||||
slf4j-api = { module = "org.slf4j:slf4j-api", version = "2.0.17" }
|
||||
# The command-line parser Minecraft ships; web-classlib replaces its reflective converter lookup.
|
||||
jopt-simple = { module = "net.sf.jopt-simple:jopt-simple", version = "5.0.4" }
|
||||
lwjgl-bom = { module = "org.lwjgl:lwjgl-bom", version.ref = "lwjgl" }
|
||||
lwjgl = { module = "org.lwjgl:lwjgl" }
|
||||
lwjgl-sdl = { module = "org.lwjgl:lwjgl-sdl" }
|
||||
lwjgl-openal = { module = "org.lwjgl:lwjgl-openal" }
|
||||
lwjgl-stb = { module = "org.lwjgl:lwjgl-stb" }
|
||||
lwjgl-freetype = { module = "org.lwjgl:lwjgl-freetype" }
|
||||
netty-common = { module = "io.netty:netty-common", version.ref = "netty" }
|
||||
netty-buffer = { module = "io.netty:netty-buffer", version.ref = "netty" }
|
||||
netty-transport = { module = "io.netty:netty-transport", version.ref = "netty" }
|
||||
netty-codec-base = { module = "io.netty:netty-codec-base", version.ref = "netty" }
|
||||
netty-handler = { module = "io.netty:netty-handler", version.ref = "netty" }
|
||||
# The WebSocket server side, for tests and the development bridge (tools/wsbridge) only.
|
||||
netty-codec-http = { module = "io.netty:netty-codec-http", version.ref = "netty" }
|
||||
viaversion = { module = "com.viaversion:viaversion-common", version.ref = "viaversion" }
|
||||
viabackwards = { module = "com.viaversion:viabackwards-common", version.ref = "viabackwards" }
|
||||
guava = { module = "com.google.guava:guava", version.ref = "guava" }
|
||||
asm = { module = "org.ow2.asm:asm", version.ref = "asm" }
|
||||
asm-commons = { module = "org.ow2.asm:asm-commons", version.ref = "asm" }
|
||||
gson = { module = "com.google.code.gson:gson", version.ref = "gson" }
|
||||
jspecify = { module = "org.jspecify:jspecify", version.ref = "jspecify" }
|
||||
bcprov = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bouncycastle" }
|
||||
bcutil = { module = "org.bouncycastle:bcutil-jdk18on", version.ref = "bouncycastle" }
|
||||
bctls = { module = "org.bouncycastle:bctls-jdk18on", version.ref = "bouncycastle-tls" }
|
||||
# Certificate building, for tests that make their own chains.
|
||||
bcpkix = { module = "org.bouncycastle:bcpkix-jdk18on", version.ref = "bouncycastle" }
|
||||
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
|
||||
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter" }
|
||||
junit-launcher = { module = "org.junit.platform:junit-platform-launcher" }
|
||||
assertj = { module = "org.assertj:assertj-core", version.ref = "assertj" }
|
||||
archunit = { module = "com.tngtech.archunit:archunit-junit5", version.ref = "archunit" }
|
||||
errorprone-core = { module = "com.google.errorprone:error_prone_core", version.ref = "errorprone" }
|
||||
nullaway = { module = "com.uber.nullaway:nullaway", version.ref = "nullaway" }
|
||||
jetbrains-annotations = { module = "org.jetbrains:annotations", version.ref = "jetbrains-annotations" }
|
||||
jsr305 = { module = "com.google.code.findbugs:jsr305", version.ref = "jsr305" }
|
||||
|
||||
[plugins]
|
||||
spotless = { id = "com.diffplug.spotless", version = "8.11.0" }
|
||||
errorprone = { id = "net.ltgt.errorprone", version = "5.2.0" }
|
||||
@@ -0,0 +1,86 @@
|
||||
# Which Incari modules may depend on which. `./gradlew checkModuleBoundaries` (part of `check`)
|
||||
# fails on any project dependency that isn't listed here, and on any module missing from this file.
|
||||
# ARCHITECTURE.md explains the layers; changing a line here is an architecture change and needs
|
||||
# a decision record in docs/adr/.
|
||||
#
|
||||
# <module> <modules it may depend on, or - for none>
|
||||
|
||||
:platform-api -
|
||||
:platform-desktop :platform-api
|
||||
:platform-web :platform-api
|
||||
:web-classlib -
|
||||
:net :platform-api
|
||||
:via -
|
||||
:mesher -
|
||||
:framework -
|
||||
:online :platform-api :framework
|
||||
:features:togglesprint :framework
|
||||
:features:lowfire :framework
|
||||
:features:nohurtcam :framework
|
||||
:features:clearchat :framework
|
||||
:features:armorpotionview :framework
|
||||
:features:customscoreboard :framework
|
||||
:features:waypoints :framework
|
||||
:features:minimap :framework
|
||||
:features:fpsdisplay :framework
|
||||
:features:cps :framework
|
||||
:features:reachdisplay :framework
|
||||
:features:keystrokes :framework
|
||||
:features:coordinates :framework
|
||||
:features:shieldtotem :framework
|
||||
:features:cooldownindicator :framework
|
||||
:features:crosshair :framework
|
||||
:features:freelook :framework
|
||||
:features:zoom :framework
|
||||
:features:saturation :framework
|
||||
:features:weatherchanger :framework
|
||||
:features:lowshield :framework
|
||||
:features:shortitems :framework
|
||||
:features:oldtextures :framework
|
||||
:features:oldanimations :framework
|
||||
:features:shulkertooltips :framework
|
||||
:features:theme :framework
|
||||
:features:blockoutline :framework
|
||||
:features:hitcolor :framework
|
||||
:features:glintcolor :framework
|
||||
:features:hiteffects :framework
|
||||
:features:fullbright :framework
|
||||
:features:customsky :framework
|
||||
:features:hitboxes :framework
|
||||
:features:schematics :framework
|
||||
:features:norender :framework
|
||||
:features:fastcrystal :framework
|
||||
:client :platform-api :net :via :mesher :framework :online :features:togglesprint :features:lowfire :features:nohurtcam :features:clearchat :features:armorpotionview :features:customscoreboard :features:waypoints :features:minimap :features:fpsdisplay :features:cps :features:reachdisplay :features:keystrokes :features:coordinates :features:shieldtotem :features:cooldownindicator :features:crosshair :features:freelook :features:zoom :features:saturation :features:weatherchanger :features:lowshield :features:shortitems :features:oldanimations :features:shulkertooltips :features:theme :features:oldtextures :features:blockoutline :features:hitcolor :features:glintcolor :features:hiteffects :features:fullbright :features:customsky :features:hitboxes :features:schematics :features:norender :features:fastcrystal
|
||||
:render-webgl2 :client
|
||||
:app-desktop :client :platform-api :platform-desktop
|
||||
:app-web :client :platform-api :platform-web :web-classlib :render-webgl2 :tools:webbuild :tools:shaders :tools:sprites
|
||||
|
||||
:tools:build -
|
||||
:tools:survey :tools:build
|
||||
:tools:copycheck :tools:build
|
||||
:tools:webbuild :tools:build :tools:survey :tools:teavm-patches :tools:wsbridge
|
||||
:tools:teavm-patches -
|
||||
:tools:shaders :render-webgl2 :client
|
||||
:tools:sprites :client
|
||||
:tools:wsbridge -
|
||||
:tools:onlinedev :online
|
||||
|
||||
# app-web runs tools:webbuild (the TeaVM compile), tools:shaders (the shader translation) and
|
||||
# tools:sprites (the vanilla sprites decoded for the asset pack) as build tools; nothing of them
|
||||
# ships. tools:shaders loads the game on the build machine's JVM to list its pipelines (ADR 0007),
|
||||
# and tools:sprites to decode the sprites with the game's own code (ADR 0026). tools:wsbridge is a development WebSocket-to-TCP bridge for
|
||||
# testing against a vanilla server (ADR 0009), standing in for an Eagler proxy (ADR 0016);
|
||||
# tools:webbuild runs it in-process for the screenshot-diff harness (ADR 0012). :via is the Via
|
||||
# stack under the game's pipeline (ADR 0017): Netty and the Via libraries, no game types.
|
||||
|
||||
# :framework is the module framework (ADR 0046): no game types. Each :features:<name> depends on it
|
||||
# alone, never on another feature, the game or the platform; :client lists the features and adapts
|
||||
# the game to the framework (incari.client.modules).
|
||||
|
||||
# tools:onlinedev serves :online's test fake over a real WebSocket, a stand-in for the online service
|
||||
# while the client's account screens are tried; never shipped.
|
||||
# :online is the client's side of Incari accounts and the online service (ADR 0058): the connection,
|
||||
# the protocol and the world's Incari players, no game types; :client draws its screens.
|
||||
|
||||
# Planned, each added when it's needed:
|
||||
# :server-plugin - (EaglerXServer API only)
|
||||
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.1-bin.zip
|
||||
networkTimeout=10000
|
||||
retries=0
|
||||
retryBackOffMs=500
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
Reference in New Issue
Block a user