build.gradle 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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:3.6.3'
  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. abortOnError false
  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. useLibrary 'org.apache.http.legacy'
  42. defaultConfig {
  43. applicationId "kr.co.icontrols.wallpadaddservice"
  44. minSdkVersion 16
  45. targetSdkVersion 17
  46. }
  47. applicationVariants.all { variant ->
  48. variant.outputs.all { output ->
  49. outputFileName = new File("../", "WallPadAddService.apk");
  50. }
  51. }
  52. buildTypes {
  53. debug {
  54. signingConfig signingConfigs.config
  55. }
  56. release {
  57. signingConfig signingConfigs.config
  58. // minifyEnabled true
  59. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  60. }
  61. release_secured {
  62. signingConfig signingConfigs.config
  63. minifyEnabled true
  64. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  65. }
  66. }
  67. }
  68. dependencies {
  69. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  70. implementation files('libs/cctvplayerlib.jar')
  71. implementation files('libs/FunctionLib.jar')
  72. implementation files('libs/libwebeye-1.0.0.jar')
  73. implementation files('libs/WallPadAPI.jar')
  74. implementation files('libs/WallPadSupport.jar')
  75. }