When BootJar is building a layered jar, it currently resolves all of the project's Configurations so that it can map the files on the classpath to their dependency coordinates. This resolution is unnecessarily broad as the files on the classpath can only come from configurations that have already been resolved.