aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/.gitignore1
-rw-r--r--app/build.gradle92
-rw-r--r--app/proguard-rules.pro21
-rw-r--r--app/src/androidTest/java/ml/docilealligator/infinityforreddit/ExampleInstrumentedTest.java26
-rw-r--r--app/src/test/java/ml/docilealligator/infinityforreddit/ExampleUnitTest.java17
5 files changed, 44 insertions, 113 deletions
diff --git a/app/.gitignore b/app/.gitignore
deleted file mode 100644
index 796b96d1..00000000
--- a/app/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/build
diff --git a/app/build.gradle b/app/build.gradle
index 4ac3eb46..3f99cdd2 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -17,75 +17,71 @@ android {
}
}
compileOptions {
- sourceCompatibility = '1.8'
- targetCompatibility = '1.8'
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
}
}
-repositories {
- maven {
- url "http://dl.bintray.com/rilixtech/maven"
- }
- mavenCentral()
- google()
- jcenter()
-}
-
dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.1.0'
- implementation 'com.google.android.material:material:1.2.0-alpha05'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.legacy:legacy-support-v13:1.0.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- implementation 'com.google.android.exoplayer:exoplayer:2.10.4'
implementation 'androidx.browser:browser:1.2.0'
- implementation 'com.alexvasilkov:gesture-views:2.5.2'
implementation 'androidx.cardview:cardview:1.0.0'
+ implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
+ // Lifecycle components
+ def lifecycleVersion = '2.2.0'
+ implementation "androidx.lifecycle:lifecycle-extensions:$lifecycleVersion"
+ annotationProcessor "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
+ implementation 'androidx.paging:paging-runtime:2.1.2'
+ implementation 'androidx.preference:preference:1.1.1'
+ // Room components
+ def roomVersion = '2.2.5'
+ implementation "androidx.room:room-runtime:$roomVersion"
+ annotationProcessor "androidx.room:room-compiler:$roomVersion"
+ implementation 'androidx.work:work-runtime:2.3.4'
+ implementation 'com.google.android.material:material:1.2.0-alpha05'
+
+ implementation 'com.google.android.exoplayer:exoplayer-core:2.10.4'
+ implementation 'com.google.android.exoplayer:exoplayer-hls:2.10.4'
+ implementation 'com.google.android.exoplayer:exoplayer-ui:2.10.4'
+ implementation 'com.alexvasilkov:gesture-views:2.6.0'
implementation 'com.github.bumptech.glide:glide:4.10.0'
- implementation 'com.github.pwittchen:swipe-rx2:0.3.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
- // Room components
- implementation "androidx.room:room-runtime:$rootProject.roomVersion"
- annotationProcessor "androidx.room:room-compiler:$rootProject.roomVersion"
- // Lifecycle components
- implementation "androidx.lifecycle:lifecycle-extensions:$rootProject.archLifecycleVersion"
- annotationProcessor "androidx.lifecycle:lifecycle-common-java8:$rootProject.archLifecycleVersion"
+ implementation 'com.github.pwittchen:swipe-rx2:0.3.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
- implementation 'io.reactivex.rxjava2:rxjava:2.2.14'
- implementation 'com.squareup.retrofit2:retrofit:2.6.2'
- implementation 'com.squareup.retrofit2:converter-scalars:2.6.2'
- implementation 'jp.wasabeef:glide-transformations:4.0.0'
- implementation 'com.google.dagger:dagger:2.25.2'
- annotationProcessor 'com.google.dagger:dagger-compiler:2.25.2'
- implementation 'com.jakewharton:butterknife:10.2.0'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
- implementation 'com.github.santalu:aspect-ratio-imageview:1.0.6'
- implementation 'androidx.paging:paging-runtime:2.1.2'
+ implementation 'io.reactivex.rxjava2:rxjava:2.2.19'
+ implementation 'com.squareup.retrofit2:retrofit:2.7.2'
+ implementation 'com.squareup.retrofit2:converter-scalars:2.7.2'
+ implementation 'jp.wasabeef:glide-transformations:4.1.0'
+ implementation 'com.google.dagger:dagger:2.27'
+ annotationProcessor 'com.google.dagger:dagger-compiler:2.27'
+ implementation 'com.jakewharton:butterknife:10.2.1'
+ annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
+ implementation 'com.github.santalu:aspect-ratio-imageview:1.0.9'
implementation 'com.lsjwzh:materialloadingprogressbar:0.5.8-RELEASE'
implementation 'io.noties.markwon:core:4.3.1'
implementation 'io.noties.markwon:linkify:4.3.1'
implementation 'io.noties.markwon:ext-strikethrough:4.3.1'
- implementation "io.noties.markwon:simple-ext:4.3.1"
- implementation "io.noties.markwon:recycler-table:4.3.1"
+ implementation 'io.noties.markwon:simple-ext:4.3.1'
+ implementation 'io.noties.markwon:recycler-table:4.3.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'
- implementation 'com.github.Ferfalk:SimpleSearchView:0.1.4'
- implementation 'org.greenrobot:eventbus:3.1.1'
- implementation 'com.libRG:customtextview:2.2'
+ implementation 'com.github.Ferfalk:SimpleSearchView:0.1.5'
+ implementation 'org.greenrobot:eventbus:3.2.0'
+ implementation 'com.libRG:customtextview:2.4'
implementation 'com.github.Deishelon:RoundedBottomSheet:1.0.1'
- implementation 'com.github.livefront:bridge:v1.2.0'
+ implementation 'com.github.livefront:bridge:v1.2.1'
implementation 'com.evernote:android-state:1.4.1'
annotationProcessor 'com.evernote:android-state-processor:1.4.1'
- implementation 'androidx.work:work-runtime:2.3.4'
- implementation 'androidx.preference:preference:1.1.0'
implementation 'com.nex3z:flow-layout:1.3.0'
implementation 'com.r0adkll:slidableactivity:2.1.0'
implementation 'com.atlassian.commonmark:commonmark:0.13.1'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'me.zhanghai.android.fastscroll:library:1.1.2'
- implementation "im.ene.toro3:toro:$rootProject.toroVersion"
- implementation "im.ene.toro3:toro-ext-exoplayer:$rootProject.toroVersion"
+
+ def toroVersion = '3.7.0.2010003'
+ implementation "im.ene.toro3:toro:$toroVersion"
+ implementation "im.ene.toro3:toro-ext-exoplayer:$toroVersion"
+
+ testImplementation 'junit:junit:4.13'
+ androidTestImplementation 'androidx.test:runner:1.2.0'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
deleted file mode 100644
index f1b42451..00000000
--- a/app/proguard-rules.pro
+++ /dev/null
@@ -1,21 +0,0 @@
-# Add project specific ProGuard rules here.
-# You can control the set of applied configuration files using the
-# proguardFiles setting in build.gradle.
-#
-# For more details, see
-# http://developer.android.com/guide/developing/tools/proguard.html
-
-# If your project uses WebView with JS, uncomment the following
-# and specify the fully qualified class name to the JavaScript interface
-# class:
-#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
-# public *;
-#}
-
-# Uncomment this to preserve the line number information for
-# debugging stack traces.
-#-keepattributes SourceFile,LineNumberTable
-
-# If you keep the line number information, uncomment this to
-# hide the original source file name.
-#-renamesourcefileattribute SourceFile
diff --git a/app/src/androidTest/java/ml/docilealligator/infinityforreddit/ExampleInstrumentedTest.java b/app/src/androidTest/java/ml/docilealligator/infinityforreddit/ExampleInstrumentedTest.java
deleted file mode 100644
index c2ab8ce0..00000000
--- a/app/src/androidTest/java/ml/docilealligator/infinityforreddit/ExampleInstrumentedTest.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package ml.docilealligator.infinityforreddit;
-
-import android.content.Context;
-import androidx.test.InstrumentationRegistry;
-import androidx.test.runner.AndroidJUnit4;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import static org.junit.Assert.*;
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
- */
-@RunWith(AndroidJUnit4.class)
-public class ExampleInstrumentedTest {
- @Test
- public void useAppContext() throws Exception {
- // Context of the app under test.
- Context appContext = InstrumentationRegistry.getTargetContext();
-
- assertEquals("ml.docilealligator.infinityforreddit", appContext.getPackageName());
- }
-}
diff --git a/app/src/test/java/ml/docilealligator/infinityforreddit/ExampleUnitTest.java b/app/src/test/java/ml/docilealligator/infinityforreddit/ExampleUnitTest.java
deleted file mode 100644
index fc950db2..00000000
--- a/app/src/test/java/ml/docilealligator/infinityforreddit/ExampleUnitTest.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package ml.docilealligator.infinityforreddit;
-
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
- */
-public class ExampleUnitTest {
- @Test
- public void addition_isCorrect() throws Exception {
- assertEquals(4, 2 + 2);
- }
-} \ No newline at end of file