Sin Descripción

build.gradle 2.8KB

    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 1040 versionName "1.0.40" buildConfigField "boolean", "isTestMode", "true" buildConfigField "boolean", "isJumpLogin", "false" 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" buildConfigField "boolean", "isJumpLogin", "false" signingConfig signingConfigs.releaseConfig } } sourceSets { main { aidl.srcDirs = ['src/main/java'] jni.srcDirs = [] jniLibs.srcDir 'libs' } } } dependencies { compile project(path: ':common') compile project(path: ':views') compile project(path: ':ryc') 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/commons-lang-2.6.jar') compile files('libs/jcc-bate-0.7.3.jar') compile 'com.umeng.analytics:analytics:latest.integration' compile files('libs/AMap_Location_V3.2.0_20161205.jar') } 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' //}