apply plugin: 'com.android.application' apply plugin: 'org.greenrobot.greendao' // apply plugin android { signingConfigs { config { keyAlias 'key0' keyPassword '123456' storeFile file('../app/parent.jks') storePassword '123456' } } compileSdkVersion 26 defaultConfig { applicationId "com.shunzhi.parent" minSdkVersion 16 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.config } debug { signingConfig signingConfigs.config } } productFlavors { } } greendao{ schemaVersion 1//数据库版本升级 } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support.constraint:constraint-layout:1.0.2' implementation 'com.android.support:support-v4:26.1.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' implementation project(':mvpsdk') implementation project(':roundedimageview-2.2.1') implementation files('libs/AMap_Location_V3.8.0_20180201.jar') implementation 'org.greenrobot:greendao:3.2.2' // add library compile "me.leolin:ShortcutBadger:1.1.19@aar" }