build.gradle 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. apply plugin: 'com.android.application'
  2. // This buildscript{} block configures the code driving the build
  3. buildscript {
  4. /**
  5. * The nested repositories{} block declares that this build uses the
  6. * jcenter repository.
  7. */
  8. repositories {
  9. jcenter()
  10. google()
  11. }
  12. /**
  13. * This block declares a dependency on the 2.3.3 version
  14. * of the Gradle plugin for the buildscript.
  15. */
  16. dependencies {
  17. classpath 'com.android.tools.build:gradle:3.6.3'
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. jcenter()
  23. google()
  24. }
  25. }
  26. apply plugin: 'com.android.application'
  27. android {
  28. signingConfigs {
  29. config {
  30. keyAlias 'HDC_HN_RELEASE_KEY'
  31. keyPassword 'hdchnsys1776'
  32. storeFile file('../HDC_HN_RELEASE_KEY.jks')
  33. storePassword 'hdchnsys1776'
  34. }
  35. }
  36. compileSdkVersion 28
  37. defaultConfig {
  38. applicationId "com.artncore.apps.ic_wallpad.service.log"
  39. minSdkVersion 17
  40. targetSdkVersion 17
  41. }
  42. applicationVariants.all { variant ->
  43. variant.outputs.all { output ->
  44. outputFileName = new File("../", "LogOutputService.apk");
  45. }
  46. }
  47. buildTypes {
  48. debug {
  49. signingConfig signingConfigs.config
  50. }
  51. release {
  52. lintOptions {
  53. disable 'MissingTranslation'
  54. checkReleaseBuilds false
  55. abortOnError false
  56. }
  57. signingConfig signingConfigs.config
  58. // minifyEnabled true
  59. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  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 files('libs/WallPadAPI.jar')
  76. implementation files('libs/WallPadSupport.jar')
  77. }