build.gradle 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. apply plugin: 'com.android.application'
  22. apply plugin: 'kotlin-android'
  23. apply plugin: 'kotlin-android-extensions'
  24. android {
  25. compileSdkVersion 32
  26. defaultConfig {
  27. applicationId "godau.fynn.dsbdirect"
  28. minSdkVersion 14
  29. targetSdkVersion 32
  30. versionCode 41
  31. versionName "3.4"
  32. vectorDrawables.useSupportLibrary = true
  33. multiDexEnabled true
  34. }
  35. buildTypes {
  36. debug {
  37. versionNameSuffix " debug"
  38. applicationIdSuffix ".debug"
  39. }
  40. release {
  41. minifyEnabled false
  42. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  43. }
  44. }
  45. flavorDimensions "store"
  46. productFlavors {
  47. fdroid {
  48. dimension "store"
  49. }
  50. notabug {
  51. versionNameSuffix " notabug"
  52. dimension "store"
  53. }
  54. play {
  55. applicationId "ga.testapp.dsbdirect"
  56. versionNameSuffix " play"
  57. dimension "store"
  58. }
  59. }
  60. compileOptions {
  61. sourceCompatibility JavaVersion.VERSION_1_8
  62. targetCompatibility JavaVersion.VERSION_1_8
  63. }
  64. }
  65. dependencies {
  66. implementation 'com.google.guava:guava:31.1-android' // explicit dependency declaration to prevent Duplicate class error
  67. implementation 'com.android.support:multidex:1.0.3'
  68. implementation 'androidx.appcompat:appcompat:1.4.2'
  69. implementation 'com.google.android.material:material:1.6.1'
  70. implementation 'com.wefika:horizontal-picker:1.1.1'
  71. implementation 'org.jsoup:jsoup:1.14.3'
  72. implementation 'com.github.mfornos:humanize-slim:1.2.2'
  73. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  74. implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
  75. implementation 'androidx.cardview:cardview:1.0.0'
  76. implementation "androidx.recyclerview:recyclerview:1.2.1"
  77. implementation 'com.github.MikeOrtiz:TouchImageView:3.0.1'
  78. implementation 'org.sufficientlysecure:html-textview:4.0' // ToDo: This is still only on jcenter!!!
  79. implementation 'com.github.DASAR:ShiftColorPicker:v0.5'
  80. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
  81. implementation 'com.squareup.picasso:picasso:2.71828'
  82. implementation 'androidx.fragment:fragment-ktx:1.4.1'
  83. implementation 'org.codeberg.fynngodau:librariesDirect:2.1'
  84. implementation 'org.conscrypt:conscrypt-android:2.5.2'
  85. implementation 'androidx.preference:preference-ktx:1.2.0'
  86. implementation 'de.bixilon:eltern-portal.org:1.1' // implementation 'de.bixilon.bixilon:eltern-portal.org-api:1.0'
  87. testImplementation 'junit:junit:4.13.2'
  88. }