Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2.  
  3. android {
  4. compileSdkVersion 25
  5. buildToolsVersion '26.0.0'
  6. defaultConfig {
  7. applicationId "ph.com.satellite.parkingjclient"
  8. minSdkVersion 19
  9. targetSdkVersion 25
  10. versionCode 1
  11. versionName "1.0.0"
  12.  
  13. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  14.  
  15. multiDexEnabled true
  16. versionCode System.getenv("BUILD_NUMBER") as Integer ?: 0
  17. project.ext.set("archivesBaseName", "parkingj-client-android-V" + versionName + "-#" + versionCode);
  18. }
  19.  
  20.  
  21. signingConfigs {
  22. release {
  23. keyAlias = "parkingj-client"
  24. keyPassword = "2017Safesat"
  25. storeFile = file("parkingj-client.jks")
  26. storePassword = "2017Safesat"
  27. storeType = "jks"
  28. }
  29. }
  30.  
  31. buildTypes {
  32. debug {
  33. minifyEnabled false
  34. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  35. buildConfigField "String", "API_URL", '"http://172.16.0.133:8071"'
  36. buildConfigField "String", "AUTH_URL", '"http://172.16.0.12:8070"'
  37.  
  38. // buildConfigField "String", "API_URL", '"http://139.162.179.215:8081/"' //- demo
  39. // buildConfigField "String", "AUTH_URL", '"http://maps.satellite.com.ph:8070/"' //Demo
  40.  
  41. // buildConfigField "String", "API_URL", '"http://findra.satellite.com.ph:8085/"' //- prod
  42. // buildConfigField "String", "AUTH_URL", '"http://maps.satellite.com.ph:8070/"' //prod
  43.  
  44.  
  45. }
  46.  
  47. release {
  48. minifyEnabled false
  49. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  50.  
  51. // buildConfigField "String", "API_URL", '"http://139.162.179.215:8081/"' //- demo
  52. // buildConfigField "String", "AUTH_URL", '"http://maps.satellite.com.ph:8070/"' //Demo
  53.  
  54. buildConfigField "String", "API_URL", '"http://findra.satellite.com.ph:8085/"' //- prod
  55. buildConfigField "String", "AUTH_URL", '"http://maps.satellite.com.ph:8070/"' //prod
  56.  
  57. }
  58. }
  59.  
  60. android.packagingOptions {
  61. exclude 'META-INF/license.txt'
  62. exclude 'META-INF/LICENSE.txt'
  63. exclude 'META-INF/notice.txt'
  64. exclude 'META-INF/NOTICE.txt'
  65. exclude 'LICENSE.txt'
  66. exclude 'META-INF/license/LICENSE.base64.txt'
  67. exclude 'META-INF/rxjava.properties'
  68. }
  69.  
  70. android {
  71. lintOptions {
  72. checkReleaseBuilds false
  73. // Or, if you prefer, you can continue to check for errors in release builds,
  74. // but continue the build even when errors are found:
  75. abortOnError false
  76. }
  77. }
  78. }
  79.  
  80. dependencies {
  81. compile fileTree(include: ['*.jar'], dir: 'libs')
  82. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  83. exclude group: 'com.android.support', module: 'support-annotations'
  84. })
  85. compile 'com.android.support:appcompat-v7:25.3.1'
  86. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  87. compile 'com.github.arimorty:floatingsearchview:2.1.1'
  88. compile 'com.google.android.gms:play-services:9.8.0'
  89. compile 'com.google.android.gms:play-services-maps:9.8.0'
  90. compile 'com.android.support:design:25.3.1'
  91. compile 'com.facebook.android:facebook-android-sdk:4.25.0'
  92. compile 'com.auth0.android:jwtdecode:1.1.0'
  93. compile 'com.squareup.retrofit2:retrofit:2.1.0'
  94. compile 'com.squareup.retrofit2:converter-gson:2.0.2'
  95. compile 'com.jakewharton:butterknife:7.0.1'
  96. compile 'com.android.support:multidex:1.0.1'
  97. testCompile 'junit:junit:4.12'
  98. compile project(path: ':parkingj-authentication-layer')
  99. compile project(path: ':parkingj-parking')
  100. compile project(path: ':parkingj-commons-layer')
  101.  
  102. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement