From: Keith Packard Date: Wed, 27 Aug 2025 05:25:01 +0000 (-0700) Subject: altosdroid: Use configured JVM version for building android bits X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=093c2f8a01250e29bd7057f412823e762f88f15b;p=fw%2Faltos altosdroid: Use configured JVM version for building android bits Make sure we use the same JVM everywhere. For now, openjdk 8 and 11 appear to work. Signed-off-by: Keith Packard --- diff --git a/altosdroid/Makefile.am b/altosdroid/Makefile.am index f9f69662..01dce50e 100644 --- a/altosdroid/Makefile.am +++ b/altosdroid/Makefile.am @@ -42,7 +42,7 @@ DRAWABLES=\ $(DRAWABLE_DIR)/greenled.png \ $(DRAWABLE_DIR)/grayled.png -GRADLEW=JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 bash ./gradlew --no-daemon +GRADLEW=JAVA_HOME=@JVM@ bash ./gradlew --no-daemon LAYOUTS=$(LAYOUT_DIR)/*.xml MENUS=$(MENU_DIR)/*.xml