Section section = new Section();
section.setName(entry.getKey());
try {
antManifest.addConfiguredSection(section);
for (Map.Entry<String, Object> attributeEntry : entry.getValue().entrySet()) {
section.addConfiguredAttribute(new Attribute(attributeEntry.getKey().toString(), attributeEntry.getValue().toString()));
}
} catch (ManifestException e) {
throw new org.gradle.api.java.archives.ManifestException(e.getMessage(), e);
}
}