From 3319a6ede963a0a0c4ab986d634010b144f9ec10 Mon Sep 17 00:00:00 2001 From: Ferdinand Keller Date: Fri, 2 Aug 2024 10:58:03 +0000 Subject: [PATCH] added empty dependencies declaration --- mc-source-code/decompile.sh | 10 +++++++++- mc-source-code/pom.xml | 12 ++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 mc-source-code/pom.xml diff --git a/mc-source-code/decompile.sh b/mc-source-code/decompile.sh index e7ccaa9c6..85bf2c129 100755 --- a/mc-source-code/decompile.sh +++ b/mc-source-code/decompile.sh @@ -19,4 +19,12 @@ cd DecompilerMC python3.12 main.py -mcv $MC_VERSION -s server -na -f -rmap -rjar -dm -dj -dd -dec -q -c # move it to the correct directory -mv src .. \ No newline at end of file +mv src .. +cd .. + +# move the custom made pom.xml +cp pom.xml src/$MC_VERSION/server + +# install the dependencies +cd ../src/$MC_VERSION/server +# mvn clean install \ No newline at end of file diff --git a/mc-source-code/pom.xml b/mc-source-code/pom.xml new file mode 100644 index 000000000..e051d6cc7 --- /dev/null +++ b/mc-source-code/pom.xml @@ -0,0 +1,12 @@ + + 4.0.0 + + com.mojang + minecraft-server + 1.21 + + + + \ No newline at end of file