build.gradle 3.7 KB

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