From 28813121144a1175df230b70c826dc0f79ec392d Mon Sep 17 00:00:00 2001 From: Campello Manuel <9112949+CampelloManuel@users.noreply.github.com> Date: Sun, 28 Apr 2024 13:54:37 +0200 Subject: [PATCH] fix bug with checkLanguages task --- customTasks.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/customTasks.gradle b/customTasks.gradle index 3bb29d73..74d9da89 100644 --- a/customTasks.gradle +++ b/customTasks.gradle @@ -12,7 +12,10 @@ tasks.register('checkLanguages') { var readFromFolders = () -> { // Read res/values/ folders, add their codes to localesInFolders File resDir = new File(projectDir, "app/src/main/res") - FileFilter theFilter = (file) -> file.name.toLowerCase().startsWith("values") + FileFilter theFilter = (file) -> { + return file.name.toLowerCase().startsWith("values") + && file.name.toLowerCase() != "values-v26" + } File[] dirs = resDir.listFiles(theFilter) var localesInFolders = new ArrayList()