Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
- espresso
- junit
- leakcanary

Signed-off-by: Stefan Nussbaumer <st9fan@gmail.com>
  • Loading branch information
nuss committed Jan 30, 2020
1 parent ef78cb6 commit 36e05e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
12 changes: 6 additions & 6 deletions app/build.gradle
Expand Up @@ -27,25 +27,25 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
// implementation 'com.google.android.gms:play-services-oss-licenses:16.0.2'
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
androidTestImplementation('androidx.test.espresso:espresso-core:3.2.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
androidTestImplementation 'androidx.test:runner:1.2.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.13'
testImplementation 'org.mockito:mockito-core:2.12.0'
// androidTestImplementation 'org.mockito:mockito-android:2.12.0'
implementation files('libs/android-core.jar')
implementation files('libs/Ketai.jar')
implementation files('libs/oscP5.jar')
implementation 'jp.co.cyberagent.android:gpuimage:2.0.3'
implementation 'com.google.android.material:material:1.0.0'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.3'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
testImplementation 'org.robolectric:robolectric:3.4.2'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.1'
// releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
// testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
testImplementation 'org.robolectric:robolectric:4.3.1'
androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito:2.12.1'
androidTestImplementation 'androidx.test:rules:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
Expand Down
8 changes: 0 additions & 8 deletions app/src/main/java/net/videosc/VideOSCApplication.java
Expand Up @@ -3,8 +3,6 @@
import android.app.Application;
import android.graphics.Point;

import com.squareup.leakcanary.LeakCanary;

import net.videosc.db.SettingsDBHelper;
import net.videosc.utilities.VideOSCOscHandler;
import net.videosc.utilities.enums.InteractionModes;
Expand Down Expand Up @@ -54,12 +52,6 @@ public class VideOSCApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
if (LeakCanary.isInAnalyzerProcess(this)) {
// This process is dedicated to LeakCanary for heap analysis.
// You should not init your app in this process.
return;
}
LeakCanary.install(this);
// rather than initializing SettingsDBHelper statically retrieve
// settingsHelper instance with getSettingshelper (no memory leaks)
mSettingsHelper = new SettingsDBHelper(this);
Expand Down

0 comments on commit 36e05e3

Please sign in to comment.