build.gradle 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. google()
  22. jcenter()
  23. maven { url 'https://jitpack.io' }
  24. }
  25. }
  26. apply plugin: 'com.android.application'
  27. android {
  28. sourceSets {
  29. main {
  30. jni.srcDirs = []
  31. }
  32. }
  33. signingConfigs {
  34. config {
  35. keyAlias 'HDC_HN_RELEASE_KEY'
  36. keyPassword 'hdchnsys1776'
  37. storeFile file('../HDC_HN_RELEASE_KEY.jks')
  38. storePassword 'hdchnsys1776'
  39. }
  40. }
  41. compileSdkVersion 28
  42. defaultConfig {
  43. applicationId "kr.co.icontrols.wallpadmulticontrol"
  44. minSdkVersion 17
  45. targetSdkVersion 17
  46. }
  47. applicationVariants.all { variant ->
  48. variant.outputs.all { output ->
  49. outputFileName = new File("../", "WallPadMultiControl.apk");
  50. }
  51. }
  52. buildTypes {
  53. release {
  54. lintOptions {
  55. disable 'MissingTranslation'
  56. checkReleaseBuilds false
  57. abortOnError false
  58. }
  59. signingConfig signingConfigs.config
  60. // minifyEnabled true
  61. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  62. }
  63. release_secured {
  64. lintOptions {
  65. disable 'MissingTranslation'
  66. checkReleaseBuilds false
  67. abortOnError false
  68. }
  69. signingConfig signingConfigs.config
  70. minifyEnabled true
  71. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  72. }
  73. debug {
  74. signingConfig signingConfigs.config
  75. }
  76. }
  77. }
  78. dependencies {
  79. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  80. implementation project(path: ':WallPadSupport')
  81. implementation files('libs/WallPadAPI.jar')
  82. implementation 'com.google.code.gson:gson:2.8.5'
  83. }