| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- apply plugin: 'com.android.application'
- android {
- signingConfigs {
- release {
- keyAlias 'box.keystore'
- keyPassword '159753'
- storePassword '159753'
- // storeFile file('C:\\AndroidStudiowork\\ai-garbage-box2\\app\\box.keystore')
- storeFile file('\\box.keystore')
- }
- debug{
- keyAlias 'box.keystore'
- keyPassword '159753'
- storePassword '159753'
- storeFile file('\\box.keystore')
- }
- }
- compileSdkVersion 28
- defaultConfig {
- applicationId "com.siwei.recyclebox"
- minSdkVersion rootProject.ext.android.minSdkVersion
- targetSdkVersion rootProject.ext.android.targetSdkVersion
- versionCode rootProject.ext.android.versionCode
- versionName rootProject.ext.android.versionName
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- dataBinding {
- enabled true
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- //
- debuggable true
- signingConfig signingConfigs.release
- }
- //以下配置记得添加!
- debug {
- signingConfig signingConfigs.release
- }
- }
- compileOptions {
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'com.android.support:appcompat-v7:28.0.0'
- implementation 'com.android.support.constraint:constraint-layout:1.1.3'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'com.android.support.test:runner:1.0.2'
- androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
- implementation project(':mvvmhabit')
- implementation 'com.aliyun.alink.linksdk:iot-linkkit:1.6.6'
- implementation 'com.github.mik3y:usb-serial-for-android:2.1.0'
- //内存泄漏测试
- debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.2'
- debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.2'
- implementation 'com.github.maybesix:Android-XHLibrary:v1.0.0'
- implementation 'com.tencent.bugly:crashreport:3.1.0'
- }
|