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.

68 lines
2.3 KiB

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 16
  8. targetSdkVersion 29
  9. versionCode 50
  10. versionName '19.0-a1'
  11. multiDexEnabled true
  12. vectorDrawables.useSupportLibrary = true
  13. vectorDrawables.generatedDensities = []
  14. }
  15. compileOptions {
  16. targetCompatibility JavaVersion.VERSION_1_8
  17. sourceCompatibility JavaVersion.VERSION_1_8
  18. }
  19. buildFeatures { viewBinding true }
  20. aaptOptions { additionalParameters '--no-version-vectors' }
  21. buildTypes {
  22. release {
  23. minifyEnabled false
  24. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  25. }
  26. }
  27. }
  28. dependencies {
  29. def appcompat_version = "1.2.0"
  30. def nav_version = "2.3.0"
  31. def preference_version = "1.1.1"
  32. implementation "androidx.appcompat:appcompat:$appcompat_version"
  33. // For loading and tinting drawables on older versions of the platform
  34. implementation "androidx.appcompat:appcompat-resources:$appcompat_version"
  35. implementation "androidx.recyclerview:recyclerview:1.2.0-alpha05"
  36. implementation 'com.google.android.material:material:1.2.0'
  37. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  38. implementation "androidx.viewpager2:viewpager2:1.0.0"
  39. implementation "androidx.navigation:navigation-fragment:$nav_version"
  40. implementation "androidx.navigation:navigation-ui:$nav_version"
  41. implementation "androidx.constraintlayout:constraintlayout:2.0.0"
  42. implementation "androidx.preference:preference:$preference_version"
  43. implementation 'org.jsoup:jsoup:1.13.1'
  44. implementation 'com.github.bumptech.glide:glide:4.11.0'
  45. implementation 'com.github.chrisbanes:PhotoView:v2.0.0'
  46. implementation 'com.google.android.exoplayer:exoplayer:2.11.1'
  47. implementation 'com.facebook.fresco:fresco:2.3.0'
  48. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  49. implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
  50. implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  51. annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
  52. }