From c37fc2f7f69d1bed1c68757da8504624c8720b8d Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 11 May 2020 12:00:26 +0200 Subject: [PATCH] lite --- app/build.gradle | 38 +++++++++++++++++++++++------ app/src/lite/res/xml/file_paths.xml | 2 +- 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 834dd8294..08dbaa688 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,10 +38,17 @@ android { fdroid { applicationId "fr.gouv.etalab.mastodon" buildConfigField "boolean", "DONATIONS", "true" + buildConfigField "boolean", "lite", "false" + } + lite { + applicationId "app.fedilab.lite" + buildConfigField "boolean", "DONATIONS", "true" + buildConfigField "boolean", "lite", "true" } playstore { applicationId "app.fedilab.android" buildConfigField "boolean", "DONATIONS", "false" + buildConfigField "boolean", "lite", "false" } } packagingOptions { @@ -87,17 +94,15 @@ dependencies { } annotationProcessor "com.github.bumptech.glide:compiler:4.11.0" annotationProcessor 'com.android.support:support-annotations:28.0.0' - implementation "org.conscrypt:conscrypt-android:2.4.0" + implementation "com.evernote:android-job:1.2.6" implementation "com.google.code.gson:gson:2.8.5" implementation "com.google.guava:guava:28.2-android" implementation "com.github.chrisbanes:PhotoView:2.3.0" implementation 'com.r0adkll:slidableactivity:2.1.0' - implementation 'com.github.stom79:country-picker-android:1.2.0' implementation 'com.github.stom79:mytransl:2.0' implementation 'com.github.stom79:SparkButton:1.0.13' implementation "com.koushikdutta.async:androidasync:2.+" - implementation 'com.vanniktech:emoji-one:0.6.0' implementation 'com.oguzdev:CircularFloatingActionMenu:1.0.2' implementation 'com.github.franmontiel:LocaleChanger:0.9.2' implementation 'com.github.GrenderG:Toasty:1.4.2' @@ -108,10 +113,10 @@ dependencies { implementation 'com.github.mabbas007:TagsEditText:1.0.5' implementation "com.tonyodev.fetch2:fetch2:2.3.6" implementation 'jp.wasabeef:glide-transformations:4.0.0' - playstoreImplementation "io.github.kobakei:ratethisapp:1.2.0" - implementation 'ja.burhanrashid52:photoeditor:0.4.0' + api 'com.theartofdev.edmodo:android-image-cropper:2.8.+' + implementation 'com.jaredrummler:cyanea:1.0.2' implementation "net.gotev:uploadservice:3.5.2" implementation "net.gotev:uploadservice-okhttp:3.5.2" implementation "info.guardianproject.netcipher:netcipher:2.0.0-alpha1" @@ -123,12 +128,29 @@ dependencies { implementation "ch.acra:acra-mail:5.5.0" implementation "ch.acra:acra-limiter:5.5.0" implementation "ch.acra:acra-notification:5.5.0" - implementation 'com.github.stom79:Android-WYSIWYG-Editor:3.2.1' implementation 'com.github.duanhong169:colorpicker:1.1.6' implementation 'com.github.penfeizhou.android.animation:glide-plugin:2.2.0' - implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' + implementation 'com.github.smarteist:autoimageslider:1.3.2' debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.2' - implementation 'com.jaredrummler:cyanea:1.0.2' + + //Flavors + + //Playstore + playstoreImplementation "io.github.kobakei:ratethisapp:1.2.0" + playstoreImplementation "org.conscrypt:conscrypt-android:2.4.0" + playstoreImplementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' + playstoreImplementation 'com.github.stom79:country-picker-android:1.2.0' + playstoreImplementation 'com.vanniktech:emoji-one:0.6.0' + playstoreImplementation 'ja.burhanrashid52:photoeditor:0.4.0' + playstoreImplementation 'com.github.stom79:Android-WYSIWYG-Editor:3.2.1' + + //Fdroid + fdroidImplementation "org.conscrypt:conscrypt-android:2.4.0" + fdroidImplementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' + fdroidImplementation 'com.github.stom79:country-picker-android:1.2.0' + fdroidImplementation 'com.vanniktech:emoji-one:0.6.0' + fdroidImplementation 'ja.burhanrashid52:photoeditor:0.4.0' + fdroidImplementation 'com.github.stom79:Android-WYSIWYG-Editor:3.2.1' } diff --git a/app/src/lite/res/xml/file_paths.xml b/app/src/lite/res/xml/file_paths.xml index 967d67b2e..25e9d1c14 100644 --- a/app/src/lite/res/xml/file_paths.xml +++ b/app/src/lite/res/xml/file_paths.xml @@ -1,6 +1,6 @@ - +