fix gradle files to make android-library plugin work
cleanup margins and dividers