123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion 25
- buildToolsVersion '26.0.2'
- flavorDimensions 'default'
- defaultConfig {
- applicationId APPLICATION_ID
- minSdkVersion 16
- targetSdkVersion 25
- versionCode 1
- versionName "1.0"
- multiDexEnabled true
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true
- ndk {
- abiFilters "x86"
- abiFilters "armeabi"
- }
- }
- signingConfigs {
- eros {
- keyAlias 'eros签名实例'
- keyPassword 'erosdemo'
- storeFile file('../eros_demo.jks')
- storePassword 'erosdemo'
- v2SigningEnabled false
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.eros
- manifestPlaceholders=[
- GETUI_APP_ID:GETUI_APPID,
- GETUI_APP_KEY:GETUI_APPKEY,
- GETUI_APP_SECRET:GETTUI_APPSECRET,
- APP_ID:APPLICATION_ID
- ]
- }
- debug {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.eros
- manifestPlaceholders=[
- GETUI_APP_ID:GETUI_APPID,
- GETUI_APP_KEY:GETUI_APPKEY,
- GETUI_APP_SECRET:GETTUI_APPSECRET,
- APP_ID:APPLICATION_ID
- ]
- }
- }
- lintOptions {
- checkReleaseBuilds false
- // Or, if you prefer, you can continue to check for errors in release builds,
- // but continue the build even when errors are found:
- abortOnError false
- }
- productFlavors {
- samplechannel{
- dimension 'default'
- }
- yingyongbao{
- dimension 'default'
- }
- }
- productFlavors.all {
- flavor -> flavor.manifestPlaceholders = [UMENG_CHANNEL_VALUE: name]
- }
- }
- repositories {
- mavenCentral()
- google()
- }
- dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- compile "com.android.support:support-v4:${PROJECT_SUPPORTLIBVERSION}"
- testCompile 'junit:junit:4.12'
- //基础库
- compile project(':nexus')
- compile project(':wxframework')
- }
|