build.gradle 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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.0"
  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. }
  36. release {
  37. // buildConfigField "com.dbs.mplus.knuh.setting.DeployPhase", "DEPLOY_PHASE", "com.dbs.mplus.knuh.setting.DeployPhase.Release"
  38. signingConfig signingConfigs.release
  39. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  40. buildConfigField "String", "NAME_SPACE", "\"http://tempuri.org/\""
  41. minifyEnabled false
  42. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  43. }
  44. }
  45. productFlavors {
  46. local {
  47. applicationIdSuffix ".local"
  48. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  49. buildConfigField "String", "CONSENT_SERVER_URL", "\"http://128.127.95.125/\""
  50. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://emadev.knuh.kr:8095/eformservice.aspx\""
  51. buildConfigField "String", "INST_CD", "\"031\""
  52. manifestPlaceholders = [appLabel: "로컬"]
  53. }
  54. bonwon {
  55. // versionCode 1
  56. // versionName "1.0.0"
  57. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  58. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ema031.knuh.kr:9091/\""
  59. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://ema031.knuh.kr:9090/eformservice.aspx\""
  60. buildConfigField "String", "INST_CD", "\"031\""
  61. manifestPlaceholders = [appLabel: "본원운영"]
  62. }
  63. bonwon_dev {
  64. applicationIdSuffix ".dev1"
  65. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  66. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://emadev.knuh.kr:8096\""
  67. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://emadev.knuh.kr:8095/eformservice.aspx\""
  68. buildConfigField "String", "INST_CD", "\"031\""
  69. manifestPlaceholders = [appLabel: "본원교육"]
  70. }
  71. chilgok {
  72. applicationIdSuffix ".chilgok"
  73. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  74. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://ema032.knuh.kr:8091\""
  75. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://ema032.knuh.kr:8090/eformservice.aspx\""
  76. buildConfigField "String", "INST_CD", "\"032\""
  77. manifestPlaceholders = [appLabel: "칠곡운영"]
  78. }
  79. chilgok_dev {
  80. applicationIdSuffix ".chilgok.dev1"
  81. buildConfigField "String", "originalPackageName", "\"com.dbs.mplus.knuh\""
  82. buildConfigField "String", "CONSENT_SERVER_URL", "\"https://emadev.knuh.kr:9096\""
  83. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"https://emadev.knuh.kr:9095/eformservice.aspx\""
  84. buildConfigField "String", "INST_CD", "\"032\""
  85. manifestPlaceholders = [appLabel: "칠곡교육"]
  86. }
  87. }
  88. }
  89. repositories {
  90. maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' }
  91. }
  92. dependencies {
  93. implementation fileTree(dir: 'libs', include: ['*.jar'])
  94. implementation 'androidx.appcompat:appcompat:1.0.2'
  95. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  96. testImplementation 'junit:junit:4.12'
  97. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  98. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  99. implementation 'com.google.code.ksoap2-android:ksoap2-android:3.6.2'
  100. implementation 'com.github.ybq:Android-SpinKit:1.2.0'
  101. implementation 'gun0912.ted:tedpermission:2.0.0'
  102. implementation 'com.squareup.picasso:picasso:2.71828'
  103. implementation 'com.github.chrisbanes:PhotoView:2.0.0'
  104. }