build.gradle 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android-extensions'
  3. apply plugin: 'kotlin-android'
  4. android {
  5. compileSdkVersion 28
  6. buildToolsVersion "29.0.2"
  7. defaultConfig {
  8. applicationId "com.dbs.dbsec"
  9. minSdkVersion 26
  10. targetSdkVersion 28
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. buildConfigField "String", "originalPackageName", "\"com.dbs.dbsec\"";
  15. // buildConfigField "String", "CONSENT_SERVER_URL", "\"http://wcollector.idatabank.com:8091/\""
  16. buildConfigField "String", "CONSENT_SERVER_URL", "\"http://172.16.10.193:8080/\""
  17. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"http://wcollector.idatabank.com:5228/\""
  18. buildConfigField "String", "INST_CD", "\"031\""
  19. manifestPlaceholders = [appLabel: "전자동의서 데모"]
  20. }
  21. buildTypes {
  22. debug {
  23. minifyEnabled false
  24. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  25. ndk {
  26. abiFilters "armeabi-v7a", "armeabi" // includes ARM SO files only, so no x86 SO file
  27. }
  28. }
  29. release {
  30. buildConfigField "String", "originalPackageName", "\"com.dbs.dbsec\"";
  31. buildConfigField "String", "CONSENT_SERVER_URL", "\"http://wcollector.idatabank.com:8091/\""
  32. buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"http://wcollector.idatabank.com:5228/\""
  33. buildConfigField "String", "INST_CD", "\"031\""
  34. manifestPlaceholders = [appLabel: "전자동의서 데모"]
  35. minifyEnabled false
  36. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  37. ndk {
  38. abiFilters "armeabi-v7a", "armeabi" // includes ARM SO files only, so no x86 SO file
  39. }
  40. }
  41. }
  42. }
  43. dependencies {
  44. implementation fileTree(dir: 'libs', include: ['*.jar'])
  45. implementation 'androidx.appcompat:appcompat:1.1.0'
  46. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  47. testImplementation 'junit:junit:4.12'
  48. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  49. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  50. implementation 'com.github.ybq:Android-SpinKit:1.2.0'
  51. implementation 'gun0912.ted:tedpermission:2.0.0'
  52. implementation 'com.squareup.picasso:picasso:2.71828'
  53. implementation 'com.github.chrisbanes:PhotoView:2.0.0'
  54. implementation 'androidx.recyclerview:recyclerview:1.1.0'
  55. implementation 'androidx.viewpager:viewpager:1.0.0'
  56. implementation "androidx.core:core-ktx:+"
  57. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  58. }
  59. repositories {
  60. mavenCentral()
  61. }