boolean (@NotNull Sdk sdk, @NotNull D flavorData, @Nullable TargetEnvironmentConfiguration targetConfig) { // Most flavours just execute homePath on target, hence file must be executable var path = sdk.getHomePath(); if (path == null) { LOG.warn("Sdk doesn't have homepath:" + sdk.getName()); return false; } return isFileExecutable(path, targetConfig); }