Modified build.gradle to create packages.