Revert "Use file collection to assign buildscript classpath."

This reverts commit d47b8076f0c7300d11cd21bbbb5f8468ce625335.
Use FileCollection for entries.