2018-07-26 17:04:44 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2020-09-12 08:58:07 +02:00
|
|
|
compileSdkVersion 30
|
2018-07-26 17:04:44 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "ml.docilealligator.infinityforreddit"
|
|
|
|
minSdkVersion 21
|
2020-09-12 08:58:07 +02:00
|
|
|
targetSdkVersion 30
|
2020-11-19 17:08:54 +01:00
|
|
|
versionCode 49
|
|
|
|
versionName "4.1.0-beta6"
|
2019-02-21 10:24:23 +01:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2020-06-18 11:57:47 +02:00
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
2020-11-22 08:23:38 +01:00
|
|
|
arguments = [ eventBusIndex : 'ml.docilealligator.infinityforreddit.EventBusIndex' ]
|
2020-06-18 11:57:47 +02:00
|
|
|
}
|
|
|
|
}
|
2018-07-26 17:04:44 +02:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2020-07-09 17:44:49 +02:00
|
|
|
minifiedRelease {
|
|
|
|
initWith buildTypes.release
|
|
|
|
zipAlignEnabled true
|
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2018-07-26 17:04:44 +02:00
|
|
|
}
|
2018-12-27 04:29:02 +01:00
|
|
|
compileOptions {
|
2020-04-22 18:09:10 +02:00
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
2018-12-27 04:29:02 +01:00
|
|
|
}
|
2018-07-26 17:04:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-08-11 08:17:08 +02:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
2020-02-12 11:11:03 +01:00
|
|
|
implementation 'androidx.browser:browser:1.2.0'
|
2019-02-21 10:24:23 +01:00
|
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
2020-11-11 10:40:09 +01:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
2020-04-22 18:09:10 +02:00
|
|
|
// Lifecycle components
|
|
|
|
def lifecycleVersion = '2.2.0'
|
|
|
|
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycleVersion"
|
2020-06-03 13:02:46 +02:00
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2020-04-22 18:09:10 +02:00
|
|
|
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"
|
2020-08-11 08:17:08 +02:00
|
|
|
implementation 'androidx.work:work-runtime:2.4.0'
|
2020-10-04 10:55:19 +02:00
|
|
|
implementation 'com.google.android.material:material:1.3.0-alpha03'
|
2020-04-22 18:09:10 +02:00
|
|
|
|
2020-11-22 05:38:29 +01:00
|
|
|
implementation 'com.google.android.exoplayer:exoplayer-core:2.11.7'
|
|
|
|
implementation 'com.google.android.exoplayer:exoplayer-hls:2.11.7'
|
|
|
|
implementation 'com.google.android.exoplayer:exoplayer-dash:2.11.7'
|
|
|
|
implementation 'com.google.android.exoplayer:exoplayer-ui:2.11.7'
|
2020-04-22 18:09:10 +02:00
|
|
|
implementation 'com.alexvasilkov:gesture-views:2.6.0'
|
2020-07-09 16:29:22 +02:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
|
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
|
2019-09-07 16:26:29 +02:00
|
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
2020-10-18 05:44:10 +02:00
|
|
|
implementation 'io.reactivex.rxjava2:rxjava:2.2.20'
|
2020-07-09 16:29:22 +02:00
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
|
2020-04-22 18:09:10 +02:00
|
|
|
implementation 'jp.wasabeef:glide-transformations:4.1.0'
|
2020-10-18 05:44:10 +02:00
|
|
|
implementation 'com.google.dagger:dagger:2.29.1'
|
|
|
|
annotationProcessor 'com.google.dagger:dagger-compiler:2.29.1'
|
|
|
|
implementation 'com.jakewharton:butterknife:10.2.3'
|
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
|
2020-04-22 18:09:10 +02:00
|
|
|
implementation 'com.github.santalu:aspect-ratio-imageview:1.0.9'
|
2019-08-26 07:52:19 +02:00
|
|
|
implementation 'com.lsjwzh:materialloadingprogressbar:0.5.8-RELEASE'
|
2020-10-23 11:53:30 +02:00
|
|
|
implementation 'io.noties.markwon:core:4.5.0'
|
|
|
|
implementation 'io.noties.markwon:linkify:4.5.0'
|
|
|
|
implementation 'io.noties.markwon:ext-strikethrough:4.5.0'
|
|
|
|
implementation 'io.noties.markwon:simple-ext:4.5.0'
|
|
|
|
implementation 'io.noties.markwon:recycler-table:4.5.0'
|
2020-10-18 05:44:10 +02:00
|
|
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.21'
|
2020-05-28 16:16:07 +02:00
|
|
|
implementation 'com.github.Ferfalk:SimpleSearchView:0.1.4'
|
2020-06-18 11:57:47 +02:00
|
|
|
|
|
|
|
def eventbusVersion = '3.2.0'
|
|
|
|
implementation "org.greenrobot:eventbus:$eventbusVersion"
|
|
|
|
annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbusVersion"
|
2020-04-22 18:09:10 +02:00
|
|
|
implementation 'com.libRG:customtextview:2.4'
|
2019-07-26 17:31:48 +02:00
|
|
|
implementation 'com.github.Deishelon:RoundedBottomSheet:1.0.1'
|
2020-04-22 18:09:10 +02:00
|
|
|
implementation 'com.github.livefront:bridge:v1.2.1'
|
2019-07-31 18:29:29 +02:00
|
|
|
implementation 'com.evernote:android-state:1.4.1'
|
|
|
|
annotationProcessor 'com.evernote:android-state-processor:1.4.1'
|
2019-10-28 14:17:09 +01:00
|
|
|
implementation 'com.nex3z:flow-layout:1.3.0'
|
2019-11-15 10:23:59 +01:00
|
|
|
implementation 'com.r0adkll:slidableactivity:2.1.0'
|
2020-10-23 11:53:30 +02:00
|
|
|
implementation 'com.atlassian.commonmark:commonmark:0.14.0'
|
2020-02-12 11:11:03 +01:00
|
|
|
implementation 'com.google.code.gson:gson:2.8.6'
|
2020-04-15 14:58:55 +02:00
|
|
|
implementation 'me.zhanghai.android.fastscroll:library:1.1.2'
|
2020-07-15 05:51:29 +02:00
|
|
|
implementation "com.thefuntasty.hauler:core:3.1.0"
|
2020-07-11 16:54:29 +02:00
|
|
|
implementation 'com.github.Piasy:BigImageViewer:1.6.5'
|
2020-10-04 10:55:19 +02:00
|
|
|
implementation 'androidx.biometric:biometric:1.1.0-beta01'
|
|
|
|
implementation 'com.airbnb.android:lottie:3.4.4'
|
2020-11-06 08:06:53 +01:00
|
|
|
implementation 'com.melegy.redscreenofdeath:red-screen-of-death:0.1.2'
|
2020-04-22 18:09:10 +02:00
|
|
|
|
2020-05-05 21:04:19 +02:00
|
|
|
def toroVersion = '3.7.0.2010003'
|
|
|
|
implementation "im.ene.toro3:toro:$toroVersion"
|
2020-06-18 17:45:07 +02:00
|
|
|
implementation("im.ene.toro3:toro-ext-exoplayer:$toroVersion") {
|
|
|
|
exclude module: 'extension-ima'
|
|
|
|
}
|
2020-05-05 21:04:19 +02:00
|
|
|
|
2020-10-18 05:44:10 +02:00
|
|
|
testImplementation 'junit:junit:4.13.1'
|
|
|
|
androidTestImplementation 'androidx.test:runner:1.3.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
2018-07-26 17:04:44 +02:00
|
|
|
}
|