build.gradle 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /*
  2. * campfire, formerly known as bandcampDirect
  3. * Copyright (C) 2020 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. * Not affiliated with bandcamp, Incorporated.
  19. */
  20. allprojects {
  21. repositories {
  22. jcenter()
  23. google()
  24. maven { url 'https://jitpack.io' }
  25. }
  26. }
  27. buildscript {
  28. repositories {
  29. jcenter()
  30. google()
  31. }
  32. dependencies {
  33. classpath 'com.android.tools.build:gradle:8.4.1'
  34. }
  35. }
  36. apply plugin: 'com.android.application'
  37. android {
  38. compileSdkVersion 34
  39. defaultConfig {
  40. applicationId "godau.fynn.bandcampdirect"
  41. minSdkVersion 21 // TODO why not lower?
  42. targetSdkVersion 28
  43. versionCode 3
  44. versionName "0.3"
  45. }
  46. buildTypes {
  47. release {
  48. minifyEnabled false
  49. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  50. }
  51. debug {
  52. applicationIdSuffix ".debug"
  53. }
  54. }
  55. compileOptions {
  56. sourceCompatibility 1.8
  57. targetCompatibility 1.8
  58. }
  59. namespace 'godau.fynn.bandcampdirect'
  60. }
  61. dependencies {
  62. implementation 'com.squareup.okhttp3:okhttp:4.12.0'
  63. implementation 'com.android.volley:volley:1.2.1'
  64. implementation 'org.jsoup:jsoup:1.17.2'
  65. implementation 'androidx.media:media:1.7.0'
  66. implementation 'androidx.palette:palette:1.0.0'
  67. implementation "androidx.room:room-runtime:2.6.1"
  68. implementation 'androidx.room:room-rxjava2:2.6.1'
  69. implementation 'androidx.room:room-runtime:2.6.1'
  70. annotationProcessor "androidx.room:room-compiler:2.6.1"
  71. implementation 'org.codeberg.fynngodau:librariesDirect:3.2'
  72. implementation 'androidx.recyclerview:recyclerview:1.3.2'
  73. implementation 'org.codeberg.fynngodau:TypedRecyclerView:2.2'
  74. implementation 'androidx.fragment:fragment:1.7.1'
  75. implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.21.0'
  76. testImplementation "junit:junit:4.13.2"
  77. testImplementation 'org.json:json:20190722'
  78. }