From 06e24ffaf7d45b586aa857caee8c56efeccbe629 Mon Sep 17 00:00:00 2001 From: Duncan McNamara Date: Wed, 20 Dec 2023 17:34:34 +0100 Subject: [PATCH] Webserver: add dev build variant This is to avoid falling back to debug when building with compile.sh. It would build all the java, then when build all modules the webserver will not have a dev variante, causing vlc-android to fallback to the debug variant. --- application/webserver/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/webserver/build.gradle b/application/webserver/build.gradle index 898aa0af3..dc0e6305c 100644 --- a/application/webserver/build.gradle +++ b/application/webserver/build.gradle @@ -27,6 +27,10 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } + dev { + initWith debug + matchingFallbacks = ['debug'] + } } task webCopy(type: Copy) {