buildscript { repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' } } apply plugin: 'com.android.application' repositories { maven { url 'https://maven.fabric.io/public' } } apply plugin: 'io.fabric' android { compileSdkVersion 26 defaultConfig { applicationId "com.gmeremit.online.gmeremittance_native" minSdkVersion 15 targetSdkVersion 26 versionCode 1 versionName "1.0.0" multiDexEnabled true vectorDrawables.useSupportLibrary = true ndk { abiFilters 'armeabi', 'x86' } def dateTime = new Date().format("MMM_dd") setProperty("archivesBaseName", "GME_" + dateTime + "_v" + versionCode + "(" + versionName + ")") } buildTypes { release { buildConfigField 'String', 'BASE_URL', '"http://121.156.120.71:9091/api/v1/"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable false minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { // buildConfigField 'String', 'BASE_URL', '"http://121.156.120.71:9091/api/v1/"' // buildConfigField 'String', 'BASE_URL', '"http://121.156.120.71:5001/api/v1/"' buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5011/api/v1/"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' signingConfig signingConfigs.debug debuggable true minifyEnabled false shrinkResources false } stag { signingConfig signingConfigs.debug buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5011/api/v1/"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable true minifyEnabled false shrinkResources false } uat { signingConfig signingConfigs.debug buildConfigField 'String', 'BASE_URL', '"http://116.66.197.118:1235/api/v1/"' buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' debuggable true minifyEnabled false shrinkResources false } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') //noinspection GradleCompatible implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support:design:26.1.0' implementation 'com.android.support.constraint:constraint-layout:1.1.0' implementation 'com.android.support:support-vector-drawable:26.1.0' implementation 'com.android.support:support-v4:26.1.0' implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.retrofit2:converter-gson:2.4.0' implementation 'com.github.yalantis:ucrop:2.2.1' implementation 'com.google.firebase:firebase-core:11.8.0' implementation 'com.google.firebase:firebase-messaging:11.8.0' implementation 'com.crashlytics.sdk.android:crashlytics:2.9.3' implementation 'com.github.kapilmhr:AlphabetIndexFastScrollRecyclerview:1.0.0' implementation 'com.github.kapilmhr:DesignToPDF:1.0' implementation 'com.github.kapilmhr:TextDrawable:1.0.1' implementation 'com.shehabic.droppy:Droppy:0.6.0@aar' implementation 'com.github.bumptech.glide:glide:3.8.0' implementation 'com.squareup.picasso:picasso:2.71828' implementation 'com.leavjenn.smoothdaterangepicker:library:0.2.0' implementation 'com.github.kapilmhr:SizesDP:1.1' implementation 'de.hdodenhof:circleimageview:2.2.0' implementation 'com.facebook.android:facebook-share:[4,5)' // compile group: 'com.zendesk', name: 'sdk', version: '1.10.0.1' implementation 'joda-time:joda-time:2.9.9' implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' implementation 'id.zelory:compressor:2.1.0' implementation 'com.zxy.android:tiny:0.1.0' implementation 'com.android.support:multidex:1.0.3' implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' implementation 'io.reactivex.rxjava2:rxandroid:2.0.1' implementation 'io.reactivex.rxjava2:rxjava:2.1.0' implementation 'org.greenrobot:eventbus:3.1.1' } apply plugin: 'com.google.gms.google-services'