Inside you main module’s build.gradle file you can have multiple build types along with your debug one.
You can specify zipAlign characteristic inside any of your buildType by using
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
zipAlignEnabled true
}
}
Note: Older versions use zipAlign, instead of zipAlignEnabled
Default gradle tasks always created for debug and release buildTypes whether you define or not. Debug is for debugging purpose and Release for Signed Application (Build >> Generate Signed Apk). You must define your signingConfig for release builds.
Check Build Types section in below mentioned link for other properties that you can use in your buildTypes
http://tools.android.com/tech-docs/new-build-system/user-guide