fix build on m1 mac
@@ -112,7 +112,7 @@ test {
"**/CucumberTestSuite.class",
)
- if(file("/usr/local/lib/").listFiles(new FilenameFilter() {
+ if(!file("/usr/local/lib").exists() || file("/usr/local/lib/").listFiles(new FilenameFilter() {
@Override
boolean accept(File dir, String name) {
return name.startsWith("libsodium");
