From 31bed6d16b0a10dc431ec175552d7710e076d891 Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Sun, 21 Feb 2021 12:05:41 +0700 Subject: [PATCH] Little more doc on build the launcher and copy lib --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 397523ba7..e0e512409 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,18 @@ bash scripts/languagelist_updater.sh # On Windows: scripts\languagelist_updater.bat ``` -- Then, build use Android Studio. +- Then, run these commands ~~build use Android Studio~~. +``` +# Build GLFW stub +./gradlew :jre_lwjgl3glfw:build +# mkdir app_pojavlauncher/src/main/assets/components/internal_libs +rm app_pojavlauncher/src/main/assets/components/lwjgl3/lwjgl-glfw-classes.jar +cp jre_lwjgl3glfw/build/libs/jre_lwjgl3glfw-3.2.3.jar app_pojavlauncher/src/main/assets/components/lwjgl3/lwjgl-glfw-classes.jar + +# Build the launcher +./gradlew :app_pojavlauncher:assembleDebug +``` +(Replace `gradlew` to `gradlew.bat` if you are building on Windows). ## Current status - [x] ~~OpenJDK 9 Mobile port: ARM32, ARM64, x86, x86_64.~~ Replaced by JRE8.