Skip to content

Commit

Permalink
fix bug with checkLanguages task
Browse files Browse the repository at this point in the history
  • Loading branch information
CampelloManuel committed Apr 28, 2024
1 parent ac4c7c6 commit 2881312
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion customTasks.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>()
Expand Down

0 comments on commit 2881312

Please sign in to comment.