build.gradle 1.9 KB

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