Update gradle script to remove uneeded dependencies.
Update .gitignore to ignore output folder.