use of org.gradle.plugins.ide.internal.tooling.eclipse.DefaultClasspathAttribute in project gradle by gradle.
the class EclipseModelBuilder method createAttributes.
private static List<DefaultClasspathAttribute> createAttributes(AbstractClasspathEntry classpathEntry) {
List<DefaultClasspathAttribute> result = Lists.newArrayList();
Map<String, Object> attributes = classpathEntry.getEntryAttributes();
for (Map.Entry<String, Object> entry : attributes.entrySet()) {
Object value = entry.getValue();
result.add(new DefaultClasspathAttribute(convertGString(entry.getKey()), value == null ? "" : value.toString()));
}
return result;
}
Aggregations