I am learning how to use ProGuard, but I could not find the project.properties file in my project. Has it been replaced? I see proguard-rules.pro. But I could not find the line where I need to delete the comment #.
So far this is what I have done. I change false to true in runProguard and change proguardFiles to "proguard-android-optimize".
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
defaultConfig {
applicationId "tok.advertisement"
minSdkVersion 11
targetSdkVersion 19
}
buildTypes {
release {
runProguard true
proguardFiles getDefaultProguardFile('proguard-android-optimize'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:19.+'
}
source
share