From 30122c45ef9ef00736deade1699a3b5101478072 Mon Sep 17 00:00:00 2001 From: Peter Abeles Date: Wed, 7 Feb 2024 11:48:13 -0800 Subject: [PATCH] Skips android once again if ANDROID_HOME is not defined, but for a different reason now. --- settings.gradle | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/settings.gradle b/settings.gradle index d42da0cd83..781102c0c6 100644 --- a/settings.gradle +++ b/settings.gradle @@ -20,5 +20,11 @@ include 'examples','demonstrations','applications', 'integration:boofcv-all', 'integration:boofcv-javacv',"integration:boofcv-WebcamCapture", 'integration:boofcv-jcodec','integration:boofcv-swing', - 'integration:boofcv-ffmpeg','integration:boofcv-pdf','integration:boofcv-kotlin', - 'integration:boofcv-android' + 'integration:boofcv-ffmpeg','integration:boofcv-pdf','integration:boofcv-kotlin' + +// The Android build system requires ANDROID_HOME to be specific and point to the Android SDK +if (System.getenv()['ANDROID_HOME']) { + include 'integration:boofcv-android' +} else { + logger.warn('Skipping integration/android because ANDROID_HOME has not been set!') +} \ No newline at end of file