There are two gradle files in your project -
- Top level
- Application level
You need to add it to the gradle application level file -
YourApplicationRootFolder -> app -> build.gradle
You need to add it like this:
buildTypes { debug { debuggable true } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }
Look at this image to get a better idea -

Varundroid
source share