build.gradle 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. 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 "com.artncore.deviceservice"
  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("../", "WallPadDevService.apk");
  47. }
  48. }
  49. buildTypes {
  50. debug {
  51. signingConfig signingConfigs.config
  52. ext.enableCrashlytics = false
  53. }
  54. release {
  55. lintOptions {
  56. disable 'MissingTranslation'
  57. checkReleaseBuilds false
  58. abortOnError false
  59. }
  60. signingConfig signingConfigs.config
  61. // minifyEnabled true
  62. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  63. }
  64. release_secured {
  65. lintOptions {
  66. disable 'MissingTranslation'
  67. checkReleaseBuilds false
  68. abortOnError false
  69. }
  70. signingConfig signingConfigs.config
  71. minifyEnabled true
  72. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  73. }
  74. }
  75. }
  76. dependencies {
  77. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  78. implementation files('libs/iencryptor.jar')
  79. implementation files('libs/WallPadAPIforSVC.jar')
  80. implementation files('libs/WallPadSupport.jar')
  81. }