From 0d9d76ddd89eefa0280b5aaf4c3379ea4b288272 Mon Sep 17 00:00:00 2001 From: "Benito J. Gonzalez" Date: Tue, 19 Jan 2021 02:26:04 -0800 Subject: [PATCH] fix: correct Xerces classpath loading conflict --- overlays/uPortal/build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/overlays/uPortal/build.gradle b/overlays/uPortal/build.gradle index 0c438f09eb..f0456ebd97 100644 --- a/overlays/uPortal/build.gradle +++ b/overlays/uPortal/build.gradle @@ -138,9 +138,10 @@ else { String skinTmpDir = "${buildDir}/tmp/skin/uPortal/media/skins/respondr/" // Identify custom skins located in skinsDir logger.lifecycle "Preparing Gradle tasks to compile the following custom skin files defined in ${skinsDir}" - List skinFiles = new FileNameFinder().getFileNames(skinsDir.path, '*.less') + FileTree skinFiles = fileTree(dir: skinsDir, include: "**/*.less") // Step 3: Use NodeJS & lessc to compile custom skin(sz) - skinFiles.eachWithIndex { it, index -> + skinFiles.eachWithIndex { f, index -> + String it = f.toString() // Strip the path String skinFileName = it.substring(it.lastIndexOf(File.separator) + 1) logger.lifecycle " -> ${skinFileName} $index"