Class AdapterVersion
java.lang.Object
app.l2nx.gs.adapter.core.lifecycle.AdapterVersion
Resolves the adapter version from a classpath resource shipped inside
nx-gs-adapter-core.jar. Falls back to
Package.getImplementationVersion()
for backwards-compatibility, then to "unknown".
Resource-first because shadow / fat-JAR builds (e.g. embedding the adapter
into a game-server's bundled JAR) replace the original manifest with the
host's, after which Package.getImplementationVersion() returns null.
-
Method Summary
-
Method Details
-
resolve
-