build.gradle 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // This buildscript{} block configures the code driving the build
  2. buildscript {
  3. /**
  4. * The nested repositories{} block declares that this build uses the
  5. * jcenter repository.
  6. */
  7. repositories {
  8. jcenter()
  9. google()
  10. }
  11. /**
  12. * This block declares a dependency on the 2.3.3 version
  13. * of the Gradle plugin for the buildscript.
  14. */
  15. dependencies {
  16. classpath 'com.android.tools.build:gradle:4.1.1'
  17. }
  18. }
  19. allprojects {
  20. repositories {
  21. jcenter()
  22. google()
  23. }
  24. }
  25. apply plugin: 'com.android.application'
  26. android {
  27. sourceSets {
  28. main {
  29. jni.srcDirs = []
  30. }
  31. }
  32. signingConfigs {
  33. config {
  34. keyAlias 'HDC_HN_RELEASE_KEY'
  35. keyPassword 'hdchnsys1776'
  36. storeFile file('../HDC_HN_RELEASE_KEY.jks')
  37. storePassword 'hdchnsys1776'
  38. }
  39. }
  40. compileSdkVersion 28
  41. defaultConfig {
  42. applicationId "kr.co.icontrols.wallpadkeyboard"
  43. minSdkVersion 19 // 방문객원격통화 API 적용으로 upgrade
  44. targetSdkVersion 19
  45. }
  46. applicationVariants.all { variant ->
  47. variant.outputs.all { output ->
  48. outputFileName = new File("../", "WallPadKeyBoard.apk");
  49. }
  50. }
  51. buildTypes {
  52. release {
  53. lintOptions {
  54. disable 'MissingTranslation'
  55. checkReleaseBuilds false
  56. abortOnError false
  57. }
  58. signingConfig signingConfigs.config
  59. // minifyEnabled true
  60. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  61. }
  62. release_secured {
  63. lintOptions {
  64. disable 'MissingTranslation'
  65. checkReleaseBuilds false
  66. abortOnError false
  67. }
  68. signingConfig signingConfigs.config
  69. minifyEnabled true
  70. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  71. }
  72. debug {
  73. signingConfig signingConfigs.config
  74. }
  75. }
  76. }
  77. dependencies {
  78. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  79. }