build.gradle 6.2 KB

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