use of org.jboss.shrinkwrap.api.asset.FileAsset in project camel by apache.
the class ArquillianPackager method addDependencies.
private static JavaArchive addDependencies(JavaArchive ark, Collection<File> deps) {
Set<File> dependencySet = new HashSet<>(deps);
for (File d : dependencySet) {
debug("Adding spring-boot dependency: " + d.getName());
ark = ark.add(new FileAsset(d), LIB_FOLDER + "/" + d.getName());
}
return ark;
}