build.gradle 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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 19
  11. versionName "1.1.0.19"
  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.mplus.knuh"
  57. applicationIdSuffix ".local"
  58. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  59. // buildConfigField "String", "CONSENT_SERVER_URL", "\"http://128.127.95.125/\""
  60. buildConfigField "String", "CONSENT_SERVER_URL", "\"http://172.16.1.21:8091/\""
  61. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://emadev.knuh.kr:8095/eformservice.aspx\""
  62. buildConfigField "String", "INST_CD", "\"031\""
  63. manifestPlaceholders = [appLabel: "로컬교육"]
  64. }
  65. bonwon {
  66. // versionCode 1
  67. // versionName "1.0.0"
  68. applicationIdSuffix ".bonwon"
  69. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  70. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ema031.knuh.kr:9091/\""
  71. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://ema031.knuh.kr:9090/eformservice.aspx\""
  72. // buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ematest.knuh.kr:9091/\""
  73. // buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://ematest.knuh.kr:9090/eformservice.aspx\""
  74. buildConfigField "String", "INST_CD", "\"031\""
  75. // manifestPlaceholders = [appLabel: "본원NEW"]
  76. manifestPlaceholders = [appLabel: "본원운영"]
  77. }
  78. bonwon_dev {
  79. applicationIdSuffix ".bonwon_dev"
  80. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  81. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://emadev.knuh.kr:8096/\""
  82. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://emadev.knuh.kr:8095/eformservice.aspx\""
  83. buildConfigField "String", "INST_CD", "\"031\""
  84. manifestPlaceholders = [appLabel: "본원교육"]
  85. }
  86. chilgok {
  87. applicationIdSuffix ".chilgok"
  88. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  89. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ema032.knuh.kr:8091/\""
  90. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://ema032.knuh.kr:8090/eformservice.aspx\""
  91. // buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ematest.knuh.kr:8091/\""
  92. // buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://ematest.knuh.kr:8090/eformservice.aspx\""
  93. buildConfigField "String", "INST_CD", "\"032\""
  94. manifestPlaceholders = [appLabel: "칠곡운영"]
  95. }
  96. chilgok_dev {
  97. applicationIdSuffix ".chilgok_dev"
  98. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  99. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://emadev.knuh.kr:9096/\""
  100. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://emadev.knuh.kr:9095/eformservice.aspx\""
  101. buildConfigField "String", "INST_CD", "\"032\""
  102. manifestPlaceholders = [appLabel: "칠곡교육"]
  103. }
  104. }
  105. }
  106. repositories {
  107. maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' }
  108. }
  109. dependencies {
  110. // implementation fileTree(dir: 'libs', include: ['*.jar'])
  111. // implementation fileTree(dir: 'libs', include: ['*.jar'])
  112. implementation fileTree(include: ['*.jar'], dir: 'libs')
  113. implementation 'androidx.appcompat:appcompat:1.0.2'
  114. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  115. testImplementation 'junit:junit:4.12'
  116. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  117. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  118. implementation 'com.google.code.ksoap2-android:ksoap2-android:3.6.2'
  119. implementation 'com.github.ybq:Android-SpinKit:1.2.0'
  120. implementation 'gun0912.ted:tedpermission:2.0.0'
  121. implementation 'com.squareup.picasso:picasso:2.71828'
  122. implementation 'com.github.chrisbanes:PhotoView:2.0.0'
  123. implementation 'androidx.recyclerview:recyclerview:1.1.0'
  124. implementation 'androidx.viewpager:viewpager:1.0.0'
  125. }