build.gradle 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. signingConfigs {
  28. config {
  29. keyAlias 'HDC_HN_RELEASE_KEY'
  30. keyPassword 'hdchnsys1776'
  31. storeFile file('../HDC_HN_RELEASE_KEY.jks')
  32. storePassword 'hdchnsys1776'
  33. }
  34. }
  35. compileSdkVersion 28
  36. defaultConfig {
  37. applicationId "kr.co.icontrols.wallpadsecurity"
  38. minSdkVersion 16
  39. targetSdkVersion 17
  40. }
  41. applicationVariants.all { variant ->
  42. variant.outputs.all { output ->
  43. outputFileName = new File("../", "WallPadSecurity.apk");
  44. }
  45. }
  46. buildTypes {
  47. release {
  48. lintOptions {
  49. disable 'MissingTranslation'
  50. checkReleaseBuilds false
  51. abortOnError false
  52. }
  53. signingConfig signingConfigs.config
  54. // minifyEnabled true
  55. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  56. }
  57. release_secured {
  58. lintOptions {
  59. disable 'MissingTranslation'
  60. checkReleaseBuilds false
  61. abortOnError false
  62. }
  63. signingConfig signingConfigs.config
  64. minifyEnabled true
  65. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  66. }
  67. debug {
  68. minifyEnabled false
  69. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  70. }
  71. }
  72. }
  73. dependencies {
  74. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  75. implementation files('libs/WallPadAPI.jar')
  76. implementation files('libs/WallPadSupport.jar')
  77. }