private void libraries(LibraryScope scope, FileCollection files, LibraryCallback callback)
     throws IOException {
   if (files != null) {
     for (File file : files) {
       callback.library(file, scope);
     }
   }
 }
 private void libraries(Set<GradleLibrary> libraries, LibraryCallback callback)
     throws IOException {
   if (libraries != null) {
     Set<String> duplicates = getDuplicates(libraries);
     for (GradleLibrary library : libraries) {
       if (!isExcluded(library)) {
         library.setIncludeGroupName(duplicates.contains(library.getName()));
         callback.library(library);
       }
     }
   }
 }