build.gradle 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. // 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. compile 'junit:junit:4.12'
  84. implementation files('libs/WallPadAPI.jar')
  85. implementation files('libs/WallPadSupport.jar')
  86. implementation 'com.github.bumptech.glide:glide:4.9.0'
  87. // implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'
  88. }