From 1f58eb77364aba350abd601e2e48171bd2374fda Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 5 Oct 2019 19:30:21 +0100 Subject: [PATCH] Add all module --- all/pom.xml | 90 ++++++++++++++++++++++++++++++ all/src/assembly/bin.xml | 20 +++++++ all/src/bin/openrs2-decompiler | 3 + all/src/bin/openrs2-decompiler.cmd | 3 + all/src/bin/openrs2-deob | 3 + all/src/bin/openrs2-deob-ast | 3 + all/src/bin/openrs2-deob-ast.cmd | 3 + all/src/bin/openrs2-deob.cmd | 3 + all/src/bin/openrs2-game | 3 + all/src/bin/openrs2-game.cmd | 3 + pom.xml | 1 + 11 files changed, 135 insertions(+) create mode 100644 all/pom.xml create mode 100644 all/src/assembly/bin.xml create mode 100755 all/src/bin/openrs2-decompiler create mode 100644 all/src/bin/openrs2-decompiler.cmd create mode 100755 all/src/bin/openrs2-deob create mode 100755 all/src/bin/openrs2-deob-ast create mode 100644 all/src/bin/openrs2-deob-ast.cmd create mode 100644 all/src/bin/openrs2-deob.cmd create mode 100755 all/src/bin/openrs2-game create mode 100644 all/src/bin/openrs2-game.cmd diff --git a/all/pom.xml b/all/pom.xml new file mode 100644 index 00000000..051795bd --- /dev/null +++ b/all/pom.xml @@ -0,0 +1,90 @@ + + + 4.0.0 + + + dev.openrs2 + openrs2 + 1.0.0-SNAPSHOT + + + openrs2-all + jar + + OpenRS2 All + + Zip file for end users, containing OpenRS2, all of its transitive + dependencies and launcher scripts. + + + + + dev.openrs2 + openrs2-decompiler + ${project.version} + + + dev.openrs2 + openrs2-deob + ${project.version} + + + dev.openrs2 + openrs2-deob-ast + ${project.version} + + + dev.openrs2 + openrs2-game + ${project.version} + + + + + + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + + + true + jar-with-dependencies + + + + dev.openrs2.game.GameServer + + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + make-assembly + package + + single + + + + + + ${project.basedir}/src/assembly/bin.xml + + false + + + + + diff --git a/all/src/assembly/bin.xml b/all/src/assembly/bin.xml new file mode 100644 index 00000000..cf5ef21f --- /dev/null +++ b/all/src/assembly/bin.xml @@ -0,0 +1,20 @@ + + + bin + + zip + + + + ${project.basedir}/src/bin + bin + + + + + ${project.build.directory}/${project.artifactId}-${project.version}-jar-with-dependencies.jar + lib + openrs2.jar + + + diff --git a/all/src/bin/openrs2-decompiler b/all/src/bin/openrs2-decompiler new file mode 100755 index 00000000..b06e5850 --- /dev/null +++ b/all/src/bin/openrs2-decompiler @@ -0,0 +1,3 @@ +#!/bin/sh -e +cd `dirname "$0"`/.. +exec java -cp lib/openrs2.jar dev.openrs2.decompiler.Decompiler "$@" diff --git a/all/src/bin/openrs2-decompiler.cmd b/all/src/bin/openrs2-decompiler.cmd new file mode 100644 index 00000000..5cc4d3a7 --- /dev/null +++ b/all/src/bin/openrs2-decompiler.cmd @@ -0,0 +1,3 @@ +@echo off +cd /d %~dp0\.. +java -cp lib\openrs2.jar dev.openrs2.decompiler.Decompiler %* diff --git a/all/src/bin/openrs2-deob b/all/src/bin/openrs2-deob new file mode 100755 index 00000000..04d00c16 --- /dev/null +++ b/all/src/bin/openrs2-deob @@ -0,0 +1,3 @@ +#!/bin/sh -e +cd `dirname "$0"`/.. +exec java -cp lib/openrs2.jar dev.openrs2.deob.Deobfuscator "$@" diff --git a/all/src/bin/openrs2-deob-ast b/all/src/bin/openrs2-deob-ast new file mode 100755 index 00000000..a4440c2b --- /dev/null +++ b/all/src/bin/openrs2-deob-ast @@ -0,0 +1,3 @@ +#!/bin/sh -e +cd `dirname "$0"`/.. +exec java -cp lib/openrs2.jar dev.openrs2.deob.ast.AstDeobfuscator "$@" diff --git a/all/src/bin/openrs2-deob-ast.cmd b/all/src/bin/openrs2-deob-ast.cmd new file mode 100644 index 00000000..6122db5c --- /dev/null +++ b/all/src/bin/openrs2-deob-ast.cmd @@ -0,0 +1,3 @@ +@echo off +cd /d %~dp0\.. +java -cp lib\openrs2.jar dev.openrs2.deob.ast.AstDeobfuscator %* diff --git a/all/src/bin/openrs2-deob.cmd b/all/src/bin/openrs2-deob.cmd new file mode 100644 index 00000000..38af8dda --- /dev/null +++ b/all/src/bin/openrs2-deob.cmd @@ -0,0 +1,3 @@ +@echo off +cd /d %~dp0\.. +java -cp lib\openrs2.jar dev.openrs2.deob.Deobfuscator %* diff --git a/all/src/bin/openrs2-game b/all/src/bin/openrs2-game new file mode 100755 index 00000000..6854b95a --- /dev/null +++ b/all/src/bin/openrs2-game @@ -0,0 +1,3 @@ +#!/bin/sh -e +cd `dirname "$0"`/.. +exec java -cp lib/openrs2.jar dev.openrs2.game.GameServer "$@" diff --git a/all/src/bin/openrs2-game.cmd b/all/src/bin/openrs2-game.cmd new file mode 100644 index 00000000..e0b17aa0 --- /dev/null +++ b/all/src/bin/openrs2-game.cmd @@ -0,0 +1,3 @@ +@echo off +cd /d %~dp0\.. +java -cp lib\openrs2.jar dev.openrs2.game.GameServer %* diff --git a/pom.xml b/pom.xml index 59be1288..8e5eac0c 100644 --- a/pom.xml +++ b/pom.xml @@ -20,6 +20,7 @@ + all asm bundler decompiler