build.gradle 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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.wallpadmulticontrolservice"
  38. minSdkVersion 21
  39. targetSdkVersion 21
  40. }
  41. sourceSets.main {
  42. jni.srcDirs = []
  43. }
  44. applicationVariants.all { variant ->
  45. variant.outputs.all { output ->
  46. outputFileName = new File("../", "WallPadMultiControlService.apk");
  47. }
  48. }
  49. buildTypes {
  50. debug {
  51. signingConfig signingConfigs.config
  52. }
  53. release {
  54. lintOptions {
  55. disable 'MissingTranslation'
  56. checkReleaseBuilds false
  57. abortOnError false
  58. }
  59. signingConfig signingConfigs.config
  60. }
  61. release_secured {
  62. lintOptions {
  63. disable 'MissingTranslation'
  64. checkReleaseBuilds false
  65. abortOnError false
  66. }
  67. signingConfig signingConfigs.config
  68. minifyEnabled true
  69. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  70. }
  71. }
  72. }
  73. dependencies {
  74. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  75. implementation project(path: ':WallPadSupport')
  76. implementation 'com.google.code.gson:gson:2.8.5'
  77. implementation files('libs/WallPadAPI.jar')
  78. }