1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

Tech | Library updates (#1504)

This commit is contained in:
Evgenii Kozlov 2021-05-30 17:59:51 +03:00 committed by GitHub
parent 254fdf36c2
commit 53db4f7338
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 20 deletions

View file

@ -97,10 +97,6 @@ android {
}
}
ext {
android_compat_version = '1.0.0-beta01'
}
dependencies {
implementation project(':domain')
@ -121,7 +117,6 @@ dependencies {
def applicationDependencies = rootProject.ext.mainApplication
def unitTestDependencies = rootProject.ext.unitTesting
def acceptanceTesting = rootProject.ext.acceptanceTesting
def devDependencies = rootProject.ext.development
def databaseDependencies = rootProject.ext.db
def analyticsDependencies = rootProject.ext.analytics
def protobufDependencies = rootProject.ext.protobuf
@ -159,7 +154,6 @@ dependencies {
implementation applicationDependencies.crashlytics
implementation devDependencies.stetho
implementation applicationDependencies.exoPlayer
implementation analyticsDependencies.amplitude

View file

@ -13,7 +13,6 @@ import com.anytypeio.anytype.di.common.ComponentManager
import com.anytypeio.anytype.di.main.ContextModule
import com.anytypeio.anytype.di.main.DaggerMainComponent
import com.anytypeio.anytype.di.main.MainComponent
import com.facebook.stetho.Stetho
import timber.log.Timber
import javax.inject.Inject
@ -39,7 +38,6 @@ class AndroidApplication : Application() {
setupAnalytics()
setupEmojiCompat()
setupTimber()
setupStetho()
}
private fun setupEmojiCompat() {
@ -60,11 +58,6 @@ class AndroidApplication : Application() {
Timber.plant(CrashlyticsTree())
}
private fun setupStetho() {
if (BuildConfig.DEBUG)
Stetho.initializeWithDefaults(this)
}
private fun setupAnalytics() {
if (BuildConfig.DEBUG) {
Amplitude.getInstance().initialize(this, getString(R.string.amplitude_api_key_debug))

View file

@ -24,8 +24,8 @@ buildscript {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
classpath 'com.google.gms:google-services:4.3.8'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.6.1'
classpath "org.jetbrains.dokka:dokka-gradle-plugin:${dokka_version}"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath 'com.squareup.wire:wire-gradle-plugin:3.5.0'

View file

@ -8,8 +8,9 @@ ext {
androidx_core_ktx_version = '1.5.0'
androidx_test_core_version = '1.2.0'
androidx_core_testing_version = '2.1.0'
//There is a bug in versions rc02-rc04 https://issuetracker.google.com/issues/158234058#comment48
androidx_security_crypto_version = '1.0.0'
// Other Android framework dependencies
appcompat_version = '1.3.0'
constraintLayout_version = '2.0.4'
recyclerview_version = '1.2.0'
@ -25,11 +26,11 @@ ext {
// Third party libraries
exoplayer_version = '2.14.0'
glide_version = '4.11.0'
glide_version = '4.12.0'
blurry_version = '4.0.0'
shimmer_layout_version = "0.5.0"
photo_view_version = '2.3.0'
dagger_version = '2.35.1'
dagger_version = '2.36'
javaxAnnotations_version = '1.0'
javaxInject_version = '1'
retrofit_version = '2.3.0'
@ -66,7 +67,7 @@ ext {
// Logging, Analytics & Crash reporting
timber_version = '4.7.1'
crashlytics_version = '17.4.1'
crashlytics_version = '18.0.0'
// Protobuf
@ -80,7 +81,7 @@ ext {
// Analytics
amplitude_version = '2.30.0'
amplitude_version = '2.31.1'
okhttp_version = '4.2.2'
// Anytype