public DefaultCppSourceSet(String name, ProjectInternal project) { this.name = name; this.exportedHeaders = new DefaultSourceDirectorySet("exported headers", project.getFileResolver()); this.source = new DefaultSourceDirectorySet("source", project.getFileResolver()); this.libs = new DefaultDomainObjectSet<NativeDependencySet>(NativeDependencySet.class); this.configurationDependencySet = new ConfigurationBasedNativeDependencySet(project, name); libs.add(configurationDependencySet); }
public void lib(Object library) { libs.add(NativeDependencyNotationParser.parser().parseNotation(library)); }