This project contains convenience methods that efficiently scales Bitmaps in Android.
Add the dependency to your gradle build file
compile 'se.codeunlimited.android.bitmap_utils:android-bitmap-utils:0.4'
Article for creating maven lib
http://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en