build.gradle 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. * DSBDirect
  3. * Copyright (C) 2019 Fynn Godau
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  17. *
  18. * This software is not affiliated with heinekingmedia GmbH, the
  19. * developer of the DSB platform.
  20. */
  21. allprojects {
  22. repositories {
  23. jcenter()
  24. google()
  25. maven { url 'https://jitpack.io' }
  26. }
  27. }
  28. buildscript {
  29. repositories {
  30. jcenter()
  31. google()
  32. }
  33. dependencies {
  34. classpath 'com.android.tools.build:gradle:3.5.1'
  35. }
  36. }
  37. apply plugin: 'com.android.application'
  38. android {
  39. compileSdkVersion 28
  40. defaultConfig {
  41. applicationId "godau.fynn.dsbdirect"
  42. minSdkVersion 15
  43. targetSdkVersion 28
  44. versionCode 27
  45. versionName "2.5.4"
  46. vectorDrawables.useSupportLibrary = true
  47. }
  48. buildTypes {
  49. debug {
  50. versionNameSuffix " debug"
  51. }
  52. release {
  53. minifyEnabled false
  54. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  55. }
  56. }
  57. flavorDimensions "store"
  58. productFlavors {
  59. fdroid {
  60. dimension "store"
  61. }
  62. notabug {
  63. versionNameSuffix " notabug"
  64. dimension "store"
  65. }
  66. play {
  67. versionNameSuffix " play"
  68. dimension "store"
  69. }
  70. }
  71. }
  72. dependencies {
  73. implementation fileTree(include: ['*.jar'], dir: 'libs')
  74. implementation 'com.android.support:appcompat-v7:28.0.0'
  75. implementation 'com.android.support:design:28.0.0'
  76. implementation 'com.wefika:horizontal-picker:1.1.0'
  77. implementation 'org.jsoup:jsoup:1.12.1'
  78. implementation 'com.github.mfornos:humanize-slim:1.2.2'
  79. implementation 'com.android.support:support-v4:28.0.0'
  80. implementation 'com.android.support:support-vector-drawable:28.0.0'
  81. implementation 'com.android.support:cardview-v7:28.0.0'
  82. implementation 'com.github.MikeOrtiz:TouchImageView:1.4.0'
  83. implementation 'org.sufficientlysecure:html-textview:3.6'
  84. implementation 'com.github.DASAR:ShiftColorPicker:v0.5'
  85. }