build.gradle 2.3 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:4.1.1'
  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. release {
  49. lintOptions {
  50. disable 'MissingTranslation'
  51. checkReleaseBuilds false
  52. abortOnError false
  53. }
  54. signingConfig signingConfigs.config
  55. // minifyEnabled true
  56. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  57. }
  58. release_secured {
  59. lintOptions {
  60. disable 'MissingTranslation'
  61. checkReleaseBuilds false
  62. abortOnError false
  63. }
  64. signingConfig signingConfigs.config
  65. minifyEnabled true
  66. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  67. }
  68. debug {
  69. signingConfig signingConfigs.config
  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. }