No need to update gradle to create release application in android studio. If you were an eclipse user, it will be so easy for you. If you are new, follow the steps
1: Go to the "Assembly" section of the toolbar section. 2: Select the option "Create Signature APK ...". 
3: fill out the open form and move on 4: if you already have .keystore or .jks, then select this file, enter your password and an alias and the corresponding password. 5: Or you do not have a .keystore or .jks file, then click the "Create New ..." button, as shown in Figure 1, then fill out the form. 
The above was the manual creation process. If you want Android Android Studio to sign your application automatically
In Android Studio, you can configure your project to automatically subscribe to the APK during the build process:
In the project browser, right-click on your application and select "Open Module Settings". In the "Project Structure" window, select the application module in the "Modules" section. Click the Signing tab. Select the keystore file, enter a name for this signature configuration (since you can create several), and enter the required information.
Figure 4. Creating a signature configuration in Android Studio.
Click the Building Types tab. Select release build. In the "Subscription Settings" section, select the signature configuration that you just created.
Figure 5. Select the signature configuration in Android Studio.
4: The most important thing that debuggable = false does in gradle.
buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard- android.txt'), 'proguard-rules.txt' debuggable false jniDebuggable false renderscriptDebuggable false zipAlignEnabled true } }
visit developer.android.com for more information
AndroidLad Jun 20 '15 at 11:53 on 2015-06-20 11:53
source share