build.gradle 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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:4.0.0'
  35. }
  36. }
  37. apply plugin: 'com.android.application'
  38. apply plugin: 'kotlin-android'
  39. apply plugin: 'kotlin-android-extensions'
  40. android {
  41. compileSdkVersion 28
  42. defaultConfig {
  43. applicationId "godau.fynn.dsbdirect"
  44. minSdkVersion 14
  45. targetSdkVersion 28
  46. versionCode 38
  47. versionName "3.2.1"
  48. vectorDrawables.useSupportLibrary = true
  49. }
  50. buildTypes {
  51. debug {
  52. versionNameSuffix " debug"
  53. applicationIdSuffix ".debug"
  54. }
  55. release {
  56. minifyEnabled false
  57. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  58. }
  59. }
  60. flavorDimensions "store"
  61. productFlavors {
  62. fdroid {
  63. dimension "store"
  64. }
  65. notabug {
  66. versionNameSuffix " notabug"
  67. dimension "store"
  68. }
  69. play {
  70. applicationId "ga.testapp.dsbdirect"
  71. versionNameSuffix " play"
  72. dimension "store"
  73. }
  74. }
  75. }
  76. dependencies {
  77. implementation 'androidx.appcompat:appcompat:1.2.0'
  78. implementation 'com.google.android.material:material:1.2.0'
  79. implementation 'com.wefika:horizontal-picker:1.1.1'
  80. implementation 'org.jsoup:jsoup:1.13.1'
  81. implementation 'com.github.mfornos:humanize-slim:1.2.2'
  82. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  83. implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
  84. implementation 'androidx.cardview:cardview:1.0.0'
  85. implementation 'com.github.MikeOrtiz:TouchImageView:3.0.1'
  86. implementation 'org.sufficientlysecure:html-textview:3.6'
  87. implementation 'com.github.DASAR:ShiftColorPicker:v0.5'
  88. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  89. implementation 'com.squareup.picasso:picasso:2.71828'
  90. implementation 'androidx.fragment:fragment:1.2.5'
  91. implementation 'org.codeberg.fynngodau:librariesDirect:2.1'
  92. implementation 'org.conscrypt:conscrypt-android:2.4.0'
  93. implementation 'androidx.preference:preference:1.1.1'
  94. }