build.gradle 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. apply plugin: 'com.android.application'
  2. android {
  3. flavorDimensions 'version'
  4. compileSdkVersion 28
  5. buildToolsVersion "29.0.2"
  6. defaultConfig {
  7. applicationId "com.dbs.mplus.knuh"
  8. minSdkVersion 24
  9. targetSdkVersion 28
  10. versionCode 1
  11. versionName "1.1.0.1"
  12. multiDexEnabled true
  13. // testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. // buildTypes {
  16. // release {
  17. // minifyEnabled false
  18. // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. // }
  20. // }
  21. signingConfigs {
  22. release {
  23. storeFile file('knuh_consent.jks') // 기준은 App 폴더 기준이다.
  24. storePassword "#3wnffkdl#"
  25. keyAlias "knuh_consent"
  26. keyPassword "#3wnffkdl#"
  27. }
  28. }
  29. buildTypes {
  30. debug {
  31. // buildConfigField "com.dbs.mplus.knuh.setting.DeployPhase", "DEPLOY_PHASE", "com.dbs.mplus.knuh.setting.DeployPhase.Debug"
  32. buildConfigField "String", "NAME_SPACE", "\"http://tempuri.org/\""
  33. minifyEnabled false
  34. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  35. // proguardFile 'proguard-rules.pro'
  36. // proguardFile 'proguard-debug.pro'
  37. ndk {
  38. abiFilters "armeabi-v7a", "armeabi" // includes ARM SO files only, so no x86 SO file
  39. }
  40. }
  41. release {
  42. // buildConfigField "com.dbs.mplus.knuh.setting.DeployPhase", "DEPLOY_PHASE", "com.dbs.mplus.knuh.setting.DeployPhase.Release"
  43. signingConfig signingConfigs.release
  44. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  45. buildConfigField "String", "NAME_SPACE", "\"http://tempuri.org/\""
  46. minifyEnabled false
  47. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  48. proguardFile 'proguard-rules.pro'
  49. ndk {
  50. abiFilters "armeabi-v7a", "armeabi" // includes ARM SO files only, so no x86 SO file
  51. }
  52. }
  53. }
  54. productFlavors {
  55. local {
  56. applicationId "com.dbs.consent.demo"
  57. applicationIdSuffix ".local"
  58. buildConfigField "String", "originalPackageName", "\"com.dbs.consent.demo\""
  59. // buildConfigField "String", "CONSENT_SERVER_URL", "\"http://211.118.215.111:8091/\""
  60. buildConfigField "String", "CONSENT_SERVER_URL", "\"http://wcollector.idatabank.com:8091/\""
  61. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"http://wcollector.idatabank.com:5228/\""
  62. // buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://ema031.knuh.kr:9090/eformservice.aspx\""
  63. buildConfigField "String", "INST_CD", "\"031\""
  64. manifestPlaceholders = [appLabel: "전자동의서 데모"]
  65. }
  66. bonwon {
  67. // versionCode 1
  68. // versionName "1.0.0"
  69. applicationId "com.dbs.consent.demo"
  70. applicationIdSuffix ".new"
  71. buildConfigField "String", "originalPackageName", "\"com.dbs.consent.demo\""
  72. // buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ema031.knuh.kr:9091/\""
  73. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ema031.knuh.kr:9096/\""
  74. // buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ematest.knuh.kr:9091/\""
  75. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://ema031.knuh.kr:9090/eformservice.aspx\""
  76. buildConfigField "String", "INST_CD", "\"031\""
  77. // manifestPlaceholders = [appLabel: "본원NEW"]
  78. manifestPlaceholders = [appLabel: "본원운영"]
  79. }
  80. bonwon_dev {
  81. applicationId "com.dbs.consent.demo"
  82. applicationIdSuffix ".dev1_new"
  83. buildConfigField "String", "originalPackageName", "\"com.dbs.consent.demo\""
  84. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ema031.knuh.kr:9096/\""
  85. // buildConfigField "String", "CONSENT_SERVER_URL", "\"https://emadev.knuh.kr:8096\""
  86. // buildConfigField "String", "CONSENT_SERVER_URL", "\"http://192.168.101.93:8096/\""
  87. // buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://emadev.knuh.kr:8095/eformservice.aspx\""
  88. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://ema031.knuh.kr:9090/eformservice.aspx\""
  89. buildConfigField "String", "INST_CD", "\"031\""
  90. manifestPlaceholders = [appLabel: "본원교육"]
  91. }
  92. chilgok {
  93. applicationId "com.dbs.consent.demo"
  94. applicationIdSuffix ".chilgok_new"
  95. buildConfigField "String", "originalPackageName", "\"com.dbs.consent.demo\""
  96. // buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ema032.knuh.kr:8091/\""
  97. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ema031.knuh.kr:8096/\""
  98. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://ema032.knuh.kr:8090/eformservice.aspx\""
  99. buildConfigField "String", "INST_CD", "\"032\""
  100. manifestPlaceholders = [appLabel: "칠곡운영"]
  101. }
  102. chilgok_dev {
  103. applicationId "com.dbs.consent.demo"
  104. applicationIdSuffix ".chilgok.dev1_new"
  105. buildConfigField "String", "originalPackageName", "\"com.dbs.consent.demo\""
  106. // buildConfigField "String", "CONSENT_SERVER_URL", "\"https://emadev.knuh.kr:9096/\""
  107. buildConfigField "String", "CONSENT_SERVER_URL", "\"http://192.168.101.93:9096/\""
  108. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://emadev.knuh.kr:9095/eformservice.aspx\""
  109. buildConfigField "String", "INST_CD", "\"032\""
  110. manifestPlaceholders = [appLabel: "칠곡교육"]
  111. }
  112. }
  113. }
  114. repositories {
  115. maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' }
  116. }
  117. dependencies {
  118. // implementation fileTree(dir: 'libs', include: ['*.jar'])
  119. // implementation fileTree(dir: 'libs', include: ['*.jar'])
  120. implementation fileTree(include: ['*.jar'], dir: 'libs')
  121. implementation 'androidx.appcompat:appcompat:1.0.2'
  122. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  123. testImplementation 'junit:junit:4.12'
  124. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  125. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  126. implementation 'com.google.code.ksoap2-android:ksoap2-android:3.6.2'
  127. implementation 'com.github.ybq:Android-SpinKit:1.2.0'
  128. implementation 'gun0912.ted:tedpermission:2.0.0'
  129. implementation 'com.squareup.picasso:picasso:2.71828'
  130. implementation 'com.github.chrisbanes:PhotoView:2.0.0'
  131. implementation 'androidx.recyclerview:recyclerview:1.1.0'
  132. implementation 'androidx.viewpager:viewpager:1.0.0'
  133. }