apply plugin: 'com.android.application' android { compileSdkVersion rootProject.ext.gCompileSdkVersion defaultConfig { applicationId "com.sucstepsoft.txrealtimelocation" minSdkVersion rootProject.ext.gMinSdkVersion targetSdkVersion rootProject.ext.gCompileSdkVersion versionCode rootProject.ext.gVersionCode versionName rootProject.ext.gVersionName testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" manifestPlaceholders = [ JPUSH_PKGNAME: applicationId, JPUSH_APPKEY : "1146f53725a159e078f27a1c", //JPush 上注册的包名对应的 Appkey. JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可. ] } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } sourceSets { main { jniLibs.srcDir 'libs' } } dexOptions { preDexLibraries = false } defaultConfig { multiDexEnabled true } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "com.android.support:appcompat-v7:25.3.0" implementation "com.android.support:design: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' //RecyclerView implementation "com.android.support:recyclerview-v7:${rootProject.ext.gAppcompatVersion_v7_28}" implementation project(':cm_utils') implementation project(':camera') //百度地图 implementation files('libs/BaiduLBS_Android.jar') // implementation files('libs/IndoorscapeAlbumPlugin.jar') //极光推送 // implementation files('libs/jcore-android-2.0.1.jar') // implementation files('libs/jpush-android-3.3.4.jar') implementation 'com.android.support:multidex:1.0.3' //Rxjava implementation "io.reactivex.rxjava2:rxjava:${rootProject.ext.gRxJavaVersion}" implementation "io.reactivex.rxjava2:rxandroid:${rootProject.ext.gRxAndroid}" //RxJava implementation "com.squareup.retrofit2:retrofit:${rootProject.ext.gRetrofitVersion}" //Gson implementation "com.google.code.gson:gson:${rootProject.ext.gGsonVersion}" //butterknife annotationProcessor "com.jakewharton:butterknife-compiler:${rootProject.ext.gButterKnifeVersion}" //选择器 implementation "com.contrarywind:Android-PickerView:$rootProject.ext.pickerViewVersion" //gson implementation "com.google.code.gson:gson:$rootProject.ext.supportGson" //glide implementation "com.github.bumptech.glide:glide:$rootProject.ext.supportGlide" annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.ext.supportGlide" //加载更多 implementation "com.jcodecraeer:xrecyclerview:$rootProject.ext.xRecyclerViewVersion" implementation "com.leon:lfilepickerlibrary:$rootProject.ext.lfilepickerlibraryVersion" //指示器 implementation "com.github.hackware1993:MagicIndicator:$rootProject.ext.mIndicatorVersion" implementation 'com.github.razerdp:BasePopup:2.2.1' //图片压缩 implementation "top.zibin:Luban:$rootProject.ext.lubanVersio" //Basic Socket client functionality api "com.tonystark.android:socket:$rootProject.ext.gSocket" //If you want to use server functionality, you need to compile the following libraries api "com.tonystark.android:socket-server:$rootProject.ext.gSocket" //bugly implementation "com.tencent.bugly:crashreport:3.0.0" debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.2' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1' testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1' }