Skip to content

Commit 4cc1d4c

Browse files
committed
fix mockito version
1 parent e06ac5f commit 4cc1d4c

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

app/build.gradle

+3-11
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ android {
1010
minSdkVersion 21
1111
targetSdkVersion 34
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
13+
multiDexEnabled true
1314
}
1415

1516
testOptions {
@@ -28,19 +29,10 @@ android {
2829
}
2930
}
3031

31-
dexOptions {
32-
preDexLibraries true
33-
maxProcessCount 8
34-
}
35-
3632
namespace 'org.glpi.inventory.agent'
3733
lint {
3834
abortOnError false
3935
}
40-
41-
defaultConfig {
42-
multiDexEnabled true
43-
}
4436
}
4537

4638
dependencies {
@@ -63,8 +55,8 @@ dependencies {
6355

6456
androidTestImplementation 'tools.fastlane:screengrab:2.1.1'
6557

66-
testImplementation 'org.mockito:mockito-android:5.14.1' // Use the latest
67-
androidTestImplementation 'org.mockito:mockito-android:5.14.1'
58+
testImplementation 'org.mockito:mockito-android:4.8.1' // Use the latest version
59+
androidTestImplementation 'org.mockito:mockito-android:4.8.1'
6860

6961
implementation 'androidx.test.espresso:espresso-idling-resource:3.6.1'
7062
implementation fileTree(dir: 'libs', include: ['*.jar'])

0 commit comments

Comments
 (0)