Fixed a bug where all dependencies were resolved assuming they were JAR files