暫無描述

build.gradle 2.2KB

    apply plugin: 'com.android.application' apply plugin: 'android-apt' android { compileSdkVersion 24 buildToolsVersion "25.0.2" dexOptions { preDexLibraries false jumboMode true javaMaxHeapSize "4g" } lintOptions { checkReleaseBuilds false abortOnError false } defaultConfig { applicationId "ai.pai.lensman" minSdkVersion 14 targetSdkVersion 21 versionCode 1010 versionName "1.0.10" 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' }