apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
android {
signingConfigs {
oair_android_keystore {
keyAlias 'oair_android'
keyPassword KEY_PASSWORD
storeFile file('../../keystore/android.keystore')
storePassword KEYSTORE_PASSWORD
}
}
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "cn.net.duqian"
minSdkVersion 11
targetSdkVersion 24
versionCode 1
versionName "1.0.2"
signingConfig signingConfigs.android_keystore
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
shrinkResources true
signingConfig signingConfigs.android_keystore
}
debug {
signingConfig signingConfigs.android_keystore
}
}
productFlavors {
Version1{
applicationId "package name1"
manifestPlaceholders = [GAO_DE_KEY: "your gaode key1", UMENG_KEY: "your umeng key1"]
}
Version2 {
applicationId "package name2"
manifestPlaceholders = [GAO_DE_KEY: "your gaode key2", UMENG_KEY: "your umeng key2"]
}
}
disable 'InvalidPackage'
}
packagingOptions {
exclude 'META-INF/services/javax.annotation.processing.Processor'
}*/
schemaVersion 1000 //数据库版本号
daoPackage 'com.oair.ssy.model.db' //设置DaoMaster、DaoSession、Dao包名
targetGenDir 'src/main/java'//设置DaoMaster、DaoSession、Dao目录
}*/
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':vitamio4.2.6')
testCompile 'junit:junit:4.12'
compile 'com.android.support:support-v4:25.0.1'
compile 'com.android.support:appcompat-v7:25.0.1'
compile 'com.android.support:cardview-v7:25.0.1'
compile 'com.android.support:recyclerview-v7:25.0.1'
compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.1.3'
compile 'com.jakewharton:butterknife:8.4.0'
apt 'com.jakewharton:butterknife-compiler:8.4.0'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.retrofit2:retrofit-adapters:2.1.0'
compile 'com.squareup.retrofit2:retrofit-converters:2.1.0'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'io.reactivex:rxjava:1.1.10'
compile 'io.reactivex:rxandroid:1.2.1'*/
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'com.squareup.okio:okio-parent:1.10.0'
compile 'org.greenrobot:eventbus:3.0.0'
compile 'com.google.dagger:dagger:2.7'
provided 'com.google.dagger:dagger-compiler:2.7'
provided 'org.glassfish:javax.annotation:10.0-b28'
compile 'com.squareup.leakcanary:leakcanary-android:1.4'
compile 'com.umeng.analytics:analytics:5.6.4'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.github.chrisbanes:PhotoView:1.3.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.github.barteksc:android-pdf-viewer:2.3.0'
}