private File findFileWithName()

in build-tools/src/main/java/co/elastic/otel/android/compilation/tools/tasks/NoticeMergerTask.java [100:108]


    private File findFileWithName(File[] files, String fileName) {
        for (File file : files) {
            if (file.getName().equals(fileName)) {
                return file;
            }
        }

        throw new RuntimeException("Could not find file named: " + fileName);
    }