| 
              apply plugin: 'com.android.application'
apply plugin: 'android-apt'
android {
    compileSdkVersion COMPILE_SDK_VERSION as int
    buildToolsVersion BUILD_TOOLS_VERSION as String
    dexOptions {
        preDexLibraries false
        jumboMode true
        javaMaxHeapSize "4g"
    }
    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
    
    defaultConfig {
        applicationId "ai.pai.lensman"
        minSdkVersion MIN_SDK_VERSION as int
        targetSdkVersion TARGET_SDK_VERSION as int
        versionCode 1028
        versionName "1.0.28"
        buildConfigField "boolean", "isTestMode", "true"
        manifestPlaceholders = [CHANNEL_NAME: "guanwang"]
    }
    signingConfigs {
        releaseConfig {
            storeFile file("paiai.keystore")
            storePassword "chengzhenyu"
            keyAlias "paiai"
            keyPassword "chengzhenyu"
        }
    }
    productFlavors.all {
        flavor->flavor.manifestPlaceholders=[CHANNEL_NAME:name]
    }
    productFlavors {
        guanwang {
        }
    }
    buildTypes {
        release {
            minifyEnabled true
            zipAlignEnabled true
            shrinkResources true
            debuggable false
            jniDebuggable false
            buildConfigField "boolean", "isTestMode", "false"
            proguardFile 'proguard-rules.pro'
            signingConfig signingConfigs.releaseConfig
        }
        debug {
            zipAlignEnabled false
            minifyEnabled false
            shrinkResources false
            buildConfigField "boolean", "isTestMode", "false"
            signingConfig signingConfigs.releaseConfig
        }
    }
    sourceSets {
        main {
            aidl.srcDirs = ['src/main/java']
        }
    }
}
dependencies {
    compile project(path: ':common')
    compile project(path: ':views')
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.jakewharton:butterknife:8.2.1'
    apt 'com.jakewharton:butterknife-compiler:8.2.1'
    compile 'com.google.code.gson:gson:2.7'
    compile files('libs/universal-image-loader-1.9.4.jar')
    compile files('libs/libammsdk.jar')
    compile files('libs/commons-lang-2.6.jar')
    compile files('libs/gprintersdkv2.1.4.jar')
    compile files('libs/jcc-bate-0.7.3.jar')
    compile 'com.umeng.analytics:analytics:latest.integration'
}
buildscript {
    repositories {
        jcenter()
        maven {
            url uri('..\\repo')
        }
    }
    dependencies {
        //group:module:version
        classpath 'com.android.plugin.hotpatch:hotpatch:1.0.0'
    }
}
apply plugin: 'plugin.hotpatch'
hotpatch{
    includePackageDir='ai\\pai\\lensman'
} 
  |