Update and cleanup dependencies (#607)

* Remove unused cardview dependency

* Remove unused test dependencies and update junit

* Update spotless

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2020-01-11 17:50:00 +05:30 committed by Aditya Wasan
parent e6ba1fcf1c
commit 382ab97b7c
2 changed files with 2 additions and 7 deletions

View file

@ -78,7 +78,6 @@ dependencies {
implementation deps.androidx.annotation implementation deps.androidx.annotation
implementation deps.androidx.appcompat implementation deps.androidx.appcompat
implementation deps.androidx.biometric implementation deps.androidx.biometric
implementation deps.androidx.cardview
implementation deps.androidx.core_ktx implementation deps.androidx.core_ktx
implementation deps.androidx.constraint_layout implementation deps.androidx.constraint_layout
implementation deps.androidx.documentfile implementation deps.androidx.documentfile
@ -101,7 +100,6 @@ dependencies {
// Testing-only dependencies // Testing-only dependencies
androidTestImplementation deps.testing.junit androidTestImplementation deps.testing.junit
androidTestImplementation deps.testing.mockito_core
androidTestImplementation deps.testing.androidx.runner androidTestImplementation deps.testing.androidx.runner
androidTestImplementation deps.testing.androidx.rules androidTestImplementation deps.testing.androidx.rules
androidTestImplementation deps.testing.androidx.junit androidTestImplementation deps.testing.androidx.junit

View file

@ -16,7 +16,7 @@ ext.deps = [
gradle_plugin: [ gradle_plugin: [
android: 'com.android.tools.build:gradle:3.5.3', android: 'com.android.tools.build:gradle:3.5.3',
kotlin: 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61', 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: [ kotlin: [
@ -27,7 +27,6 @@ ext.deps = [
annotation: 'androidx.annotation:annotation:1.1.0', annotation: 'androidx.annotation:annotation:1.1.0',
appcompat: 'androidx.appcompat:appcompat:1.2.0-alpha01', appcompat: 'androidx.appcompat:appcompat:1.2.0-alpha01',
biometric: 'androidx.biometric:biometric:1.0.1', biometric: 'androidx.biometric:biometric:1.0.1',
cardview: 'androidx.cardview:cardview:1.0.0',
constraint_layout: 'androidx.constraintlayout:constraintlayout:2.0.0-beta4', constraint_layout: 'androidx.constraintlayout:constraintlayout:2.0.0-beta4',
core_ktx: 'androidx.core:core-ktx:1.2.0-rc01', core_ktx: 'androidx.core:core-ktx:1.2.0-rc01',
documentfile: 'androidx.documentfile:documentfile:1.0.1', documentfile: 'androidx.documentfile:documentfile:1.0.1',
@ -46,9 +45,7 @@ ext.deps = [
], ],
testing: [ testing: [
junit: 'junit:junit:4.13-rc-2', junit: 'junit:junit:4.13',
koin_test: 'org.koin:koin-test:2.0.1',
mockito_core: 'org.mockito:mockito-core:3.2.4',
androidx: [ androidx: [
runner: 'androidx.test:runner:1.3.0-alpha03', runner: 'androidx.test:runner:1.3.0-alpha03',
rules: 'androidx.test:rules:1.3.0-alpha03', rules: 'androidx.test:rules:1.3.0-alpha03',