Open-source alternative Instagram client on Android. More maintainers needed!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
2.9 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. apply plugin: 'com.android.application'
  2. apply plugin: "androidx.navigation.safeargs"
  3. android {
  4. compileSdkVersion 29
  5. defaultConfig {
  6. applicationId 'me.austinhuang.instagrabbr'
  7. minSdkVersion 21
  8. targetSdkVersion 29
  9. versionCode 51
  10. versionName '19.0-a2'
  11. multiDexEnabled true
  12. vectorDrawables.useSupportLibrary = true
  13. vectorDrawables.generatedDensities = []
  14. }
  15. compileOptions {
  16. // Flag to enable support for the new language APIs
  17. coreLibraryDesugaringEnabled true
  18. targetCompatibility JavaVersion.VERSION_1_8
  19. sourceCompatibility JavaVersion.VERSION_1_8
  20. }
  21. buildFeatures { viewBinding true }
  22. aaptOptions { additionalParameters '--no-version-vectors' }
  23. buildTypes {
  24. release {
  25. minifyEnabled false
  26. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  27. }
  28. }
  29. }
  30. configurations.all {
  31. resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
  32. }
  33. dependencies {
  34. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.10'
  35. def appcompat_version = "1.2.0"
  36. def nav_version = '2.3.1'
  37. implementation 'com.google.android.material:material:1.3.0-alpha03'
  38. implementation 'com.google.android.exoplayer:exoplayer-core:2.12.0'
  39. implementation 'com.google.android.exoplayer:exoplayer-ui:2.12.0'
  40. implementation "androidx.appcompat:appcompat:$appcompat_version"
  41. implementation "androidx.appcompat:appcompat-resources:$appcompat_version"
  42. implementation "androidx.recyclerview:recyclerview:1.2.0-alpha06"
  43. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  44. implementation "androidx.viewpager2:viewpager2:1.0.0"
  45. implementation "androidx.navigation:navigation-fragment:$nav_version"
  46. implementation "androidx.navigation:navigation-ui:$nav_version"
  47. implementation "androidx.constraintlayout:constraintlayout:2.0.4"
  48. implementation "androidx.preference:preference:1.1.1"
  49. implementation "androidx.work:work-runtime:2.4.0"
  50. implementation 'androidx.palette:palette:1.0.0'
  51. implementation 'com.google.guava:guava:27.0.1-android'
  52. // implementation 'com.github.hendrawd:StorageUtil:1.1.0'
  53. implementation 'com.github.ammargitham:AutoLinkTextViewV2:master-SNAPSHOT'
  54. implementation 'org.jsoup:jsoup:1.13.1'
  55. implementation 'com.facebook.fresco:fresco:2.3.0'
  56. implementation 'com.facebook.fresco:animated-gif:2.3.0'
  57. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  58. implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
  59. implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  60. implementation 'com.github.dragon66:icafe:master-SNAPSHOT'
  61. implementation 'javax.media:jai_imageio:1.1.1'
  62. debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.5'
  63. testImplementation 'org.junit.jupiter:junit-jupiter:5.7.0'
  64. }