aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/build.gradle42
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/settings/AcknowledgementFragment.java6
-rw-r--r--build.gradle8
3 files changed, 23 insertions, 33 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 4f792b29..1ed5c612 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -47,23 +47,23 @@ dependencies {
implementation 'androidx.browser:browser:1.3.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.0-beta02'
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
def lifecycleVersion = "2.2.0"
+ implementation "androidx.lifecycle:lifecycle-common-java8:2.3.1"
implementation "androidx.lifecycle:lifecycle-livedata:$lifecycleVersion"
- implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycleVersion"
+ implementation "androidx.lifecycle:lifecycle-process:2.3.1"
implementation "androidx.lifecycle:lifecycle-runtime:$lifecycleVersion"
- implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion"
- implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
- annotationProcessor "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
- implementation 'androidx.paging:paging-runtime:3.0.1'
- implementation "androidx.paging:paging-guava:3.0.1"
+ implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycleVersion"
+ def pagingVersion = "3.0.1"
+ implementation "androidx.paging:paging-runtime:$pagingVersion"
+ implementation "androidx.paging:paging-guava:$pagingVersion"
implementation 'androidx.preference:preference:1.1.1'
def roomVersion = "2.3.0"
implementation "androidx.room:room-runtime:$roomVersion"
annotationProcessor "androidx.room:room-compiler:$roomVersion"
+ implementation 'androidx.startup:startup-runtime:1.0.0'
+ implementation 'androidx.viewpager2:viewpager2:1.1.0-alpha01'
implementation 'androidx.work:work-runtime:2.5.0'
implementation 'com.google.android.material:material:1.3.0-rc01'
- implementation "androidx.viewpager2:viewpager2:1.1.0-alpha01"
/** ExoPlayer **/
def exoplayerVersion = "2.10.8"
@@ -81,10 +81,6 @@ dependencies {
/**** Backend logic ****/
- // Reactive stuff for event and async related
- implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
- implementation 'io.reactivex.rxjava2:rxjava:2.2.21'
-
// HTTP clients
def retrofitVersion = "2.9.0"
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
@@ -121,6 +117,15 @@ dependencies {
// NOTE: Replace with Squareup's Moshi?
implementation 'com.google.code.gson:gson:2.8.6'
+ // Java library for zip files and streams
+ implementation 'net.lingala.zip4j:zip4j:2.7.0'
+
+ // IO functionality
+ implementation 'org.apache.commons:commons-io:1.3.2'
+
+ // Crash reporting
+ implementation 'com.github.FunkyMuse:Crashy:1.1.0'
+
/**** User Interface (frontend) ****/
@@ -172,19 +177,8 @@ dependencies {
// RecyclerView fast scrolling
implementation 'me.zhanghai.android.fastscroll:library:1.1.5'
- implementation 'net.lingala.zip4j:zip4j:2.7.0'
- implementation 'org.apache.commons:commons-io:1.3.2'
-
- implementation "androidx.startup:startup-runtime:1.0.0"
- implementation 'com.github.FunkyMuse:Crashy:1.1.0'
-
- implementation "androidx.lifecycle:lifecycle-process:2.3.1"
- implementation "androidx.lifecycle:lifecycle-common-java8:2.3.1"
-
- implementation 'androidx.palette:palette:1.0.0'
-
/**** Builds and flavors ****/
// debugImplementation because LeakCanary should only run in debug builds.
- //debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.5'
+ //debugImplementation 'com.squareup.leakcanary:leakcanary-android:x.y'
}
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AcknowledgementFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AcknowledgementFragment.java
index 2f2aa91e..c5a3690d 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AcknowledgementFragment.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AcknowledgementFragment.java
@@ -50,12 +50,6 @@ public class AcknowledgementFragment extends Fragment {
acknowledgements.add(new Acknowledgement("Glide",
"A fast and efficient open source media management and image loading framework for Android",
Uri.parse("https://github.com/bumptech/glide")));
- acknowledgements.add(new Acknowledgement("RxAndroid",
- "Android specific bindings for RxJava 2",
- Uri.parse("https://github.com/ReactiveX/RxAndroid")));
- acknowledgements.add(new Acknowledgement("RxJava",
- "Reactive extensions for the JVM",
- Uri.parse("https://github.com/ReactiveX/RxJava")));
acknowledgements.add(new Acknowledgement("Retrofit",
"Type-safe HTTP client for Android and Java by Square, Inc.",
Uri.parse("https://github.com/square/retrofit")));
diff --git a/build.gradle b/build.gradle
index 2c7d3efd..2d33656e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,10 +3,12 @@
buildscript {
repositories {
google()
+ mavenCentral()
+ maven { url "https://jitpack.io" }
jcenter()
}
dependencies {
- classpath 'com.android.tools.build:gradle:4.1.1'
+ classpath 'com.android.tools.build:gradle:7.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -16,9 +18,9 @@ buildscript {
allprojects {
repositories {
google()
- jcenter()
- maven { url "https://jitpack.io" }
mavenCentral()
+ maven { url "https://jitpack.io" }
+ jcenter()
}
}