Reduce gradle deps (#50691)

* drop unnecessary test deps

* bump to junit 4.13
This commit is contained in:
Dan Field
2020-02-12 21:14:54 -08:00
committed by GitHub
parent 8abf54f5e3
commit 3d812c1b96
42 changed files with 3 additions and 246 deletions

View File

@@ -16,12 +16,6 @@ android {
targetSdkVersion 28
versionCode 1
versionName "1.0"
{{#androidX}}
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
{{/androidX}}
{{^androidX}}
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
{{/androidX}}
}
buildTypes {
@@ -43,15 +37,10 @@ dependencies {
{{#androidX}}
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
{{/androidX}}
{{^androidX}}
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:design:28.0.0'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
{{/androidX}}
testImplementation 'junit:junit:4.12'
}

View File

@@ -37,12 +37,6 @@ android {
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
{{#androidX}}
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
{{/androidX}}
{{^androidX}}
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
{{/androidX}}
}
}
@@ -51,7 +45,6 @@ flutter {
}
dependencies {
testImplementation 'junit:junit:4.12'
{{#androidX}}
implementation 'androidx.appcompat:appcompat:1.0.2'
{{/androidX}}

View File

@@ -37,19 +37,9 @@ android {
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
{{#androidX}}
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
{{/androidX}}
{{^androidX}}
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
{{/androidX}}
}
}
flutter {
source '../..'
}
dependencies {
testImplementation 'junit:junit:4.12'
}