build.gradle 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. // classpath 'com.android.support:design:28.0.0'
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. jcenter()
  23. google()
  24. }
  25. }
  26. apply plugin: 'com.android.application'
  27. android {
  28. lintOptions {
  29. disable "ResourceType"
  30. checkReleaseBuilds false
  31. }
  32. signingConfigs {
  33. config {
  34. keyAlias 'HDC_HN_RELEASE_KEY'
  35. keyPassword 'hdchnsys1776'
  36. storeFile file('../HDC_HN_RELEASE_KEY.jks')
  37. storePassword 'hdchnsys1776'
  38. }
  39. }
  40. compileSdkVersion 28
  41. defaultConfig {
  42. applicationId "kr.co.icontrols.wallpadmain"
  43. minSdkVersion 17
  44. targetSdkVersion 17
  45. }
  46. applicationVariants.all { variant ->
  47. variant.outputs.all { output ->
  48. outputFileName = new File("../", "WallPadMain.apk");
  49. }
  50. }
  51. sourceSets {
  52. main {
  53. jni.srcDirs = []
  54. }
  55. }
  56. buildTypes {
  57. release {
  58. lintOptions {
  59. disable 'MissingTranslation'
  60. checkReleaseBuilds false
  61. abortOnError false
  62. }
  63. signingConfig signingConfigs.config
  64. // minifyEnabled true
  65. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  66. }
  67. release_secured {
  68. lintOptions {
  69. disable 'MissingTranslation'
  70. checkReleaseBuilds false
  71. abortOnError false
  72. }
  73. signingConfig signingConfigs.config
  74. minifyEnabled true
  75. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  76. }
  77. debug {
  78. signingConfig signingConfigs.config
  79. }
  80. }
  81. }
  82. dependencies {
  83. implementation files('libs/WallPadAPI.jar')
  84. implementation files('libs/WallPadSupport.jar')
  85. implementation 'com.github.bumptech.glide:glide:4.9.0'
  86. // implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'
  87. }