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.

121 lines
4.2 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
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.instagrabber'
  7. minSdkVersion 21
  8. targetSdkVersion 29
  9. versionCode 60
  10. versionName '19.1.0'
  11. multiDexEnabled true
  12. vectorDrawables.useSupportLibrary = true
  13. vectorDrawables.generatedDensities = []
  14. javaCompileOptions {
  15. annotationProcessorOptions {
  16. arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
  17. }
  18. }
  19. }
  20. compileOptions {
  21. // Flag to enable support for the new language APIs
  22. coreLibraryDesugaringEnabled true
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. sourceCompatibility JavaVersion.VERSION_1_8
  25. }
  26. buildFeatures { viewBinding true }
  27. aaptOptions { additionalParameters '--no-version-vectors' }
  28. buildTypes {
  29. debug {
  30. minifyEnabled true
  31. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  32. }
  33. release {
  34. minifyEnabled true
  35. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  36. }
  37. }
  38. }
  39. configurations.all {
  40. resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
  41. }
  42. dependencies {
  43. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
  44. def appcompat_version = "1.2.0"
  45. def nav_version = '2.3.3'
  46. def exoplayer_version = '2.12.0'
  47. implementation 'com.google.android.material:material:1.4.0-alpha01'
  48. implementation "com.google.android.exoplayer:exoplayer-core:$exoplayer_version"
  49. implementation "com.google.android.exoplayer:exoplayer-dash:$exoplayer_version"
  50. implementation "com.google.android.exoplayer:exoplayer-ui:$exoplayer_version"
  51. implementation "androidx.appcompat:appcompat:$appcompat_version"
  52. implementation "androidx.appcompat:appcompat-resources:$appcompat_version"
  53. implementation "androidx.recyclerview:recyclerview:1.2.0-beta02"
  54. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  55. implementation "androidx.viewpager2:viewpager2:1.0.0"
  56. implementation "androidx.navigation:navigation-fragment:$nav_version"
  57. implementation "androidx.navigation:navigation-ui:$nav_version"
  58. implementation "androidx.constraintlayout:constraintlayout:2.0.4"
  59. implementation "androidx.preference:preference:1.1.1"
  60. implementation "androidx.work:work-runtime:2.5.0"
  61. implementation 'androidx.palette:palette:1.0.0'
  62. implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
  63. implementation 'com.google.guava:guava:27.0.1-android'
  64. // Room
  65. def room_version = "2.2.6"
  66. implementation "androidx.room:room-runtime:$room_version"
  67. implementation "androidx.room:room-guava:$room_version"
  68. annotationProcessor "androidx.room:room-compiler:$room_version"
  69. // CameraX
  70. def camerax_version = "1.1.0-alpha02"
  71. implementation "androidx.camera:camera-camera2:$camerax_version"
  72. implementation "androidx.camera:camera-lifecycle:$camerax_version"
  73. implementation "androidx.camera:camera-view:1.0.0-alpha22"
  74. // EmojiCompat
  75. def emoji_compat_version = "1.1.0"
  76. implementation "androidx.emoji:emoji:$emoji_compat_version"
  77. implementation "androidx.emoji:emoji-appcompat:$emoji_compat_version"
  78. implementation 'me.austinhuang:AutoLinkTextViewV2:-SNAPSHOT'
  79. implementation 'com.facebook.fresco:fresco:2.3.0'
  80. implementation 'com.facebook.fresco:animated-webp:2.3.0'
  81. implementation 'com.facebook.fresco:webpsupport:2.3.0'
  82. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  83. implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
  84. implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  85. implementation 'org.apache.commons:commons-imaging:1.0-alpha2'
  86. implementation 'com.ibm.icu:icu4j:68.1'
  87. implementation 'com.github.ammargitham:uCrop:2.3-native-beta-2'
  88. implementation 'com.github.ammargitham:android-gpuimage:2.1.1-beta4'
  89. debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.6'
  90. testImplementation 'org.junit.jupiter:junit-jupiter:5.7.0'
  91. }