build.gradle 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. maven { url "http://dl.bintray.com/dasar/maven" }
  27. }
  28. }
  29. buildscript {
  30. repositories {
  31. jcenter()
  32. google()
  33. }
  34. dependencies {
  35. classpath 'com.android.tools.build:gradle:3.5.0'
  36. }
  37. }
  38. apply plugin: 'com.android.application'
  39. android {
  40. compileSdkVersion 28
  41. defaultConfig {
  42. applicationId "godau.fynn.dsbdirect"
  43. minSdkVersion 15
  44. targetSdkVersion 28
  45. versionCode 20
  46. versionName "2.3"
  47. vectorDrawables.useSupportLibrary = true
  48. }
  49. buildTypes {
  50. debug {
  51. versionNameSuffix " debug"
  52. }
  53. release {
  54. minifyEnabled false
  55. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  56. }
  57. }
  58. flavorDimensions "store"
  59. productFlavors {
  60. fdroid {
  61. dimension "store"
  62. }
  63. notabug {
  64. versionNameSuffix " notabug"
  65. dimension "store"
  66. }
  67. play {
  68. versionNameSuffix " play"
  69. dimension "store"
  70. }
  71. }
  72. }
  73. dependencies {
  74. implementation fileTree(include: ['*.jar'], dir: 'libs')
  75. implementation 'com.android.support:appcompat-v7:28.0.0'
  76. implementation 'com.android.support:design:28.0.0'
  77. implementation 'com.wefika:horizontal-picker:1.1.0'
  78. implementation 'org.jsoup:jsoup:1.12.1'
  79. implementation 'com.github.mfornos:humanize-slim:1.2.2'
  80. implementation 'com.android.support:support-v4:28.0.0'
  81. implementation 'com.android.support:support-vector-drawable:28.0.0'
  82. implementation 'com.android.support:cardview-v7:28.0.0'
  83. implementation 'com.github.MikeOrtiz:TouchImageView:1.4.0'
  84. implementation 'org.sufficientlysecure:html-textview:3.6'
  85. implementation(group: 'uz.shift', name: 'colorpicker', version: '0.5', ext: 'aar')
  86. }