|
@ -31,6 +31,21 @@ android { |
|
|
def dateTime = new Date().format("MMM_dd") |
|
|
def dateTime = new Date().format("MMM_dd") |
|
|
setProperty("archivesBaseName", "GME_" + dateTime + "_v" + versionCode + "(" + versionName + ")") |
|
|
setProperty("archivesBaseName", "GME_" + dateTime + "_v" + versionCode + "(" + versionName + ")") |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
signingConfigs { |
|
|
|
|
|
release { |
|
|
|
|
|
keyAlias 'ABCD' |
|
|
|
|
|
keyPassword 'ABCD' |
|
|
|
|
|
storeFile file('/Users/gme_1/Android Projects/FantasySlide/sample.gif') |
|
|
|
|
|
storePassword 'ABCD' |
|
|
|
|
|
} |
|
|
|
|
|
stag { |
|
|
|
|
|
keyAlias 'JPT' |
|
|
|
|
|
keyPassword 'asdfljk' |
|
|
|
|
|
storeFile file('/Users/gme_1/Android Projects/gme-android/gradlew') |
|
|
|
|
|
storePassword 'sdfgasd' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
buildTypes { |
|
|
buildTypes { |
|
|
release { |
|
|
release { |
|
|
buildConfigField 'String', 'BASE_URL', '"http://121.156.120.71:9091/api/v1/"' |
|
|
buildConfigField 'String', 'BASE_URL', '"http://121.156.120.71:9091/api/v1/"' |
|
@ -39,13 +54,11 @@ android { |
|
|
minifyEnabled true |
|
|
minifyEnabled true |
|
|
shrinkResources true |
|
|
shrinkResources true |
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
|
|
|
|
|
signingConfig signingConfigs.release |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
debug { |
|
|
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:5012/api/v1/"' |
|
|
buildConfigField 'String', 'BASE_URL', '"http://gmeuat.gmeremit.com:5012/api/v1/"' |
|
|
|
|
|
|
|
|
buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' |
|
|
buildConfigField 'String', 'BASE_URL_SOCIAL', '"http://10.1.1.171:8080/v1/"' |
|
|
signingConfig signingConfigs.debug |
|
|
signingConfig signingConfigs.debug |
|
|
debuggable true |
|
|
debuggable true |
|
@ -62,14 +75,6 @@ android { |
|
|
shrinkResources 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 { |
|
|
compileOptions { |
|
|
sourceCompatibility JavaVersion.VERSION_1_8 |
|
|
sourceCompatibility JavaVersion.VERSION_1_8 |
|
@ -115,9 +120,6 @@ dependencies { |
|
|
implementation 'org.greenrobot:eventbus:3.1.1' |
|
|
implementation 'org.greenrobot:eventbus:3.1.1' |
|
|
implementation 'com.android.support:percent:27.1.1' |
|
|
implementation 'com.android.support:percent:27.1.1' |
|
|
implementation 'com.android.support:cardview-v7:27.1.1' |
|
|
implementation 'com.android.support:cardview-v7:27.1.1' |
|
|
|
|
|
|
|
|
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.+' |
|
|
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.+' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
apply plugin: 'com.google.gms.google-services' |
|
|
apply plugin: 'com.google.gms.google-services' |