Migrate to gradle's default layout
Updated build script
Fixed compiler error when building debug version
fixed gradle warning