From 382ab97b7ccf24dcfac09855f647a6c071dc315f Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 11 Jan 2020 17:50:00 +0530 Subject: [PATCH] Update and cleanup dependencies (#607) * Remove unused cardview dependency * Remove unused test dependencies and update junit * Update spotless Signed-off-by: Harsh Shandilya --- app/build.gradle | 2 -- dependencies.gradle | 7 ++----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 50a9a67d..d68f6015 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -78,7 +78,6 @@ dependencies { implementation deps.androidx.annotation implementation deps.androidx.appcompat implementation deps.androidx.biometric - implementation deps.androidx.cardview implementation deps.androidx.core_ktx implementation deps.androidx.constraint_layout implementation deps.androidx.documentfile @@ -101,7 +100,6 @@ dependencies { // Testing-only dependencies androidTestImplementation deps.testing.junit - androidTestImplementation deps.testing.mockito_core androidTestImplementation deps.testing.androidx.runner androidTestImplementation deps.testing.androidx.rules androidTestImplementation deps.testing.androidx.junit diff --git a/dependencies.gradle b/dependencies.gradle index f356a072..33e0e760 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -16,7 +16,7 @@ ext.deps = [ gradle_plugin: [ android: 'com.android.tools.build:gradle:3.5.3', kotlin: 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61', - spotless: 'com.diffplug.spotless:spotless-plugin-gradle:3.26.1' + spotless: 'com.diffplug.spotless:spotless-plugin-gradle:3.27.0' ], kotlin: [ @@ -27,7 +27,6 @@ ext.deps = [ annotation: 'androidx.annotation:annotation:1.1.0', appcompat: 'androidx.appcompat:appcompat:1.2.0-alpha01', biometric: 'androidx.biometric:biometric:1.0.1', - cardview: 'androidx.cardview:cardview:1.0.0', constraint_layout: 'androidx.constraintlayout:constraintlayout:2.0.0-beta4', core_ktx: 'androidx.core:core-ktx:1.2.0-rc01', documentfile: 'androidx.documentfile:documentfile:1.0.1', @@ -46,9 +45,7 @@ ext.deps = [ ], testing: [ - junit: 'junit:junit:4.13-rc-2', - koin_test: 'org.koin:koin-test:2.0.1', - mockito_core: 'org.mockito:mockito-core:3.2.4', + junit: 'junit:junit:4.13', androidx: [ runner: 'androidx.test:runner:1.3.0-alpha03', rules: 'androidx.test:rules:1.3.0-alpha03',