build.gradle 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. apply plugin: 'com.android.application'
  2. android {
  3. flavorDimensions 'version'
  4. compileSdkVersion 30
  5. buildToolsVersion "30.0.1"
  6. defaultConfig {
  7. applicationId "com.dbs.mplus.fatima"
  8. minSdkVersion 24
  9. targetSdkVersion 30
  10. versionCode 4
  11. versionName "4"
  12. multiDexEnabled true
  13. // testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. signingConfigs {
  16. release {
  17. storeFile file('fatima.jks') // 기준은 App 폴더 기준이다.
  18. storePassword "#3wnffkdl#"
  19. keyAlias "fatima"
  20. keyPassword "#3wnffkdl#"
  21. }
  22. }
  23. buildTypes {
  24. debug {
  25. buildConfigField "String", "NAME_SPACE", "\"http://tempuri.org/\""
  26. minifyEnabled false
  27. proguardFile 'proguard-rules.pro'
  28. ndk {
  29. abiFilters "armeabi-v7a", "armeabi" // includes ARM SO files only, so no x86 SO file
  30. }
  31. }
  32. release {
  33. // signingConfig signingConfigs.release
  34. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.fatima\""
  35. buildConfigField "String", "NAME_SPACE", "\"http://tempuri.org/\""
  36. minifyEnabled false
  37. proguardFile 'proguard-rules.pro'
  38. // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  39. ndk {
  40. abiFilters "armeabi-v7a", "armeabi" // includes ARM SO files only, so no x86 SO file
  41. }
  42. }
  43. }
  44. productFlavors {
  45. product {
  46. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.fatima\""
  47. buildConfigField "String", "CONSENT_SERVER_URL", "\"http://consent2.fatima.or.kr:8888/\""
  48. // buildConfigField "String", "CONSENT_SERVER_URL", "\"https://consent.fatima.or.kr:8888/\""
  49. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://eform.fatima.or.kr/eformservice.aspx/\""
  50. buildConfigField "String", "INST_CD", "\"111\""
  51. manifestPlaceholders = [appLabel: "파티마병원"]
  52. }
  53. dev {
  54. applicationIdSuffix ".dev"
  55. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.fatima\""
  56. buildConfigField "String", "CONSENT_SERVER_URL", "\"http://172.16.10.194/\"" // Local
  57. // buildConfigField "String", "CONSENT_SERVER_URL", "\"http://192.168.100.124:8888/\""
  58. // buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"http://192.168.100.124:8090/eformservice.aspx/\""
  59. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"http://172.16.10.194:8070/eformservice.aspx/\"" // Local
  60. buildConfigField "String", "INST_CD", "\"111\""
  61. manifestPlaceholders = [appLabel: "파티마병원 교육"]
  62. }
  63. }
  64. }
  65. repositories {
  66. maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' }
  67. }
  68. dependencies {
  69. implementation fileTree(dir: 'libs', include: ['*.jar'])
  70. implementation 'androidx.appcompat:appcompat:1.2.0'
  71. implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
  72. testImplementation 'junit:junit:4.12'
  73. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  74. // androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  75. implementation 'com.google.code.ksoap2-android:ksoap2-android:3.6.4'
  76. implementation 'com.github.ybq:Android-SpinKit:1.2.0'
  77. implementation 'gun0912.ted:tedpermission:2.0.0'
  78. implementation 'com.squareup.picasso:picasso:2.71828'
  79. implementation 'com.github.chrisbanes:PhotoView:2.0.0'
  80. implementation 'androidx.recyclerview:recyclerview:1.1.0'
  81. implementation 'com.github.smart-fun:XmlToJson:1.5.1'
  82. }