aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-02-18 00:59:18 -0800
committerGitHub <noreply@github.com>2020-02-18 00:59:18 -0800
commit4d5aaf541dbfa7d521ebbc5f011a642c83c4b9c5 (patch)
tree76b340fe12c674191be56f951bd8847a066503bb /app
parentbed9c89993d7a0a8cd37b24c3afb492c1c1ea992 (diff)
parent0fb77fc887c1754573e7b34ea1c01b4b3556f62f (diff)
downloadfrost-4d5aaf541dbfa7d521ebbc5f011a642c83c4b9c5.tar.gz
frost-4d5aaf541dbfa7d521ebbc5f011a642c83c4b9c5.tar.bz2
frost-4d5aaf541dbfa7d521ebbc5f011a642c83c4b9c5.zip
Merge pull request #1644 from AllanWang/versions
Versions
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle14
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt9
2 files changed, 3 insertions, 20 deletions
diff --git a/app/build.gradle b/app/build.gradle
index d9f02d1a..f36aa430 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -226,8 +226,6 @@ repositories {
}
dependencies {
- implementation 'androidx.exifinterface:exifinterface:1.0.0'
-
androidTestImplementation kau.Dependencies.kotlinTest
androidTestImplementation kau.Dependencies.espresso
androidTestImplementation kau.Dependencies.testRules
@@ -264,9 +262,9 @@ dependencies {
implementation "androidx.biometric:biometric:${Versions.andxBiometric}"
- implementation "org.koin:koin-android:${Versions.koin}"
- testImplementation "org.koin:koin-test:${Versions.koin}"
- androidTestImplementation "org.koin:koin-test:${Versions.koin}"
+ implementation kau.Dependencies.koin
+ testImplementation kau.Dependencies.koinTest
+ androidTestImplementation kau.Dependencies.koinTest
// androidTestImplementation "io.mockk:mockk:${Versions.mockk}"
@@ -285,13 +283,7 @@ dependencies {
//noinspection GradleDependency
kapt kau.Dependencies.glideKapt
- //noinspection GradleDependency
- releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
- //noinspection GradleDependency
- releaseTestImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
- //noinspection GradleDependency
debugImplementation "com.squareup.leakcanary:leakcanary-android:${Versions.leakCanary}"
-// testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
//Icons
implementation kau.Dependencies.iconicsMaterial
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
index 684c54a4..a11006e2 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
@@ -41,20 +41,11 @@ import org.koin.core.context.startKoin
*/
class FrostApp : Application() {
-// companion object {
-// fun refWatcher(c: Context) = (c.applicationContext as FrostApp).refWatcher
-// }
-
-// lateinit var refWatcher: RefWatcher
-
override fun onCreate() {
if (!buildIsLollipopAndUp) { // not supported
super.onCreate()
return
}
-
-// if (LeakCanary.isInAnalyzerProcess(this)) return
-// refWatcher = LeakCanary.install(this)
initPrefs()
initBugsnag()