Merge pull request #2 from petedoyle/master

[#72912212] Progressively retry smaller sizes on OutOfMemoryError during rotate
[#71632364] Retry at smaller sizes on rotate/OOME
[#71632364] Re-center after rotate, Toast on fail
Upgrade to gradle plugin 0.11
Upgrade to gradle plugin 0.12