Skip to content

Commit 3ee6bbe

Browse files
committed
updating kotlin, gradle, commons, removing LeakCanary
1 parent 68f1cbe commit 3ee6bbe

File tree

3 files changed

+5
-20
lines changed

3 files changed

+5
-20
lines changed

app/build.gradle

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-android-extensions'
44

55
android {
6-
compileSdkVersion 27
7-
buildToolsVersion "27.0.3"
6+
compileSdkVersion 28
7+
buildToolsVersion "28.0.2"
88

99
defaultConfig {
1010
applicationId "com.simplemobiletools.filemanager"
1111
minSdkVersion 16
12-
targetSdkVersion 27
12+
targetSdkVersion 28
1313
versionCode 55
1414
versionName "4.2.0"
1515
setProperty("archivesBaseName", "file-manager")
@@ -40,17 +40,10 @@ android {
4040
}
4141
}
4242

43-
ext {
44-
leakCanaryVersion = '1.5.4'
45-
}
46-
4743
dependencies {
48-
implementation 'com.simplemobiletools:commons:4.6.10'
44+
implementation 'com.simplemobiletools:commons:4.7.5'
4945

5046
implementation files('../libs/RootTools.jar')
51-
52-
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
53-
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
5447
}
5548

5649
Properties props = new Properties()

app/src/main/kotlin/com/simplemobiletools/filemanager/App.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,10 @@ package com.simplemobiletools.filemanager
33
import android.app.Application
44
import com.github.ajalt.reprint.core.Reprint
55
import com.simplemobiletools.commons.extensions.checkUseEnglish
6-
import com.squareup.leakcanary.LeakCanary
76

87
class App : Application() {
98
override fun onCreate() {
109
super.onCreate()
11-
if (BuildConfig.DEBUG) {
12-
if (LeakCanary.isInAnalyzerProcess(this)) {
13-
return
14-
}
15-
LeakCanary.install(this)
16-
}
17-
1810
checkUseEnglish()
1911
Reprint.initialize(this)
2012
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.2.60'
4+
ext.kotlin_version = '1.2.61'
55

66
repositories {
77
jcenter()

0 commit comments

Comments
 (0)