build.gradle 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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.6.3'
  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 36
  47. versionName "3.1"
  48. vectorDrawables.useSupportLibrary = true
  49. }
  50. buildTypes {
  51. debug {
  52. versionNameSuffix " debug"
  53. }
  54. release {
  55. minifyEnabled false
  56. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  57. }
  58. }
  59. flavorDimensions "store"
  60. productFlavors {
  61. fdroid {
  62. dimension "store"
  63. }
  64. notabug {
  65. versionNameSuffix " notabug"
  66. dimension "store"
  67. }
  68. play {
  69. applicationId "ga.testapp.dsbdirect"
  70. versionNameSuffix " play"
  71. dimension "store"
  72. }
  73. }
  74. }
  75. dependencies {
  76. implementation fileTree(include: ['*.jar'], dir: 'libs')
  77. implementation 'androidx.appcompat:appcompat:1.1.0'
  78. implementation 'com.google.android.material:material:1.1.0'
  79. implementation 'com.wefika:horizontal-picker:1.1.1'
  80. implementation 'org.jsoup:jsoup:1.12.2'
  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:1.4.0'
  86. implementation 'org.sufficientlysecure:html-textview:3.6'
  87. implementation 'com.github.DASAR:ShiftColorPicker:v0.5'
  88. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  89. implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
  90. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  91. implementation 'com.squareup.picasso:picasso:2.71828'
  92. implementation 'androidx.fragment:fragment:1.2.4'
  93. implementation 'org.codeberg.fynngodau:librariesDirect:1.1.1'
  94. implementation 'org.conscrypt:conscrypt-android:2.4.0'
  95. }