|
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.3"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
defaultConfig {
applicationId "ai.pai.client"
minSdkVersion 14
targetSdkVersion 22
versionCode 1020
versionName "1.0.20"
buildConfigField "boolean","isDevMode","true"
manifestPlaceholders = [CHANNEL_NAME: "guanwang"]
}
dexOptions {
incremental true
preDexLibraries false
jumboMode true
javaMaxHeapSize "4g"
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
signingConfigs {
releaseConfig {
storeFile file("paiai.keystore")
storePassword "chengzhenyu"
keyAlias "paiai"
keyPassword "chengzhenyu"
}
}
buildTypes {
release {
minifyEnabled true
zipAlignEnabled true
shrinkResources true
debuggable false
jniDebuggable false
buildConfigField "boolean","isDevMode","false"
proguardFile 'proguard-project.txt'
signingConfig signingConfigs.releaseConfig
}
debug {
zipAlignEnabled false
minifyEnabled false
shrinkResources false
signingConfig signingConfigs.releaseConfig
}
}
productFlavors.all {
flavor->flavor.manifestPlaceholders=[CHANNEL_NAME:name]
}
productFlavors {
guanwang {
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(path: ':common')
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
compile project(path: ':views')
}
|