apply plugin: 'com.android.application' apply plugin: 'realm-android' android { compileSdkVersion 26 defaultConfig { applicationId "com.philisense.rdgo" minSdkVersion 21 targetSdkVersion 26 versionCode 39 versionName "4.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { checkReleaseBuilds false abortOnError false } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } realm { syncEnabled = true; } // dataBinding 加入 dataBinding { enabled = true } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support:support-v4:26.1.0' implementation 'com.android.support:design:26.1.0' implementation 'com.android.support.constraint:constraint-layout:1.0.2' // Testing testImplementation 'junit:junit:4.12' testImplementation 'org.robolectric:robolectric:3.3.2' testImplementation 'org.mockito:mockito-core:1.10.19' testImplementation 'org.robolectric:shadows-support-v4:3.0' testImplementation 'org.powermock:powermock-module-junit4:1.6.5' testImplementation 'org.powermock:powermock-module-junit4-rule:1.6.5' testImplementation 'org.powermock:powermock-api-mockito:1.6.5' testImplementation 'org.powermock:powermock-classloading-xstream:1.6.5' androidTestImplementation 'com.android.support.test:runner:1.0.1' // Set this dependency to use JUnit 4 rules androidTestImplementation 'com.android.support.test:rules:1.0.1' // Set this dependency to build and run Espresso tests androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2' implementation project(':http') implementation project(':xrecyclerview') implementation project(':zoomlibrary') compile 'com.quinny898.library.persistentsearch:library:1.1.0-SNAPSHOT' compile 'io.reactivex.rxjava2:rxandroid:2.0.1' compile 'com.android.support:cardview-v7:26.1.0' compile 'com.github.bmelnychuk:atv:1.2.+' compile 'com.jakewharton.rxbinding2:rxbinding:2.0.0' compile 'com.borax12.materialdaterangepicker:library:1.9' implementation files('libs/ScanDecode.jar') // bugly compile 'com.tencent.bugly:crashreport:latest.release' // pgy compile 'com.pgyersdk:sdk:2.8.1' }