From c0685fb638daf186090bc77b627d2ecbc7601dfd Mon Sep 17 00:00:00 2001
From: Dario Ghunney Ware <dariogware@gmail.com>
Date: Mon, 9 Jun 2025 15:50:19 +0100
Subject: [PATCH] fixed source exclusion

---
 build.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index 2c25b74d4..8b837749a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -52,7 +52,7 @@ sourceSets {
             }
 
             if (System.getenv('STIRLING_PDF_DESKTOP_UI') == 'false') {
-                exclude 'stirling/software/SPDF/UI/impl/**'
+                exclude '**/stirling/software/SPDF/UI/impl/**'
             }
 
         }
@@ -67,7 +67,7 @@ sourceSets {
             }
 
             if (System.getenv('STIRLING_PDF_DESKTOP_UI') == 'false') {
-                exclude 'stirling/software/SPDF/UI/impl/**'
+                exclude '**/stirling/software/SPDF/UI/impl/**'
             }
         }
     }