-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle.kts
37 lines (35 loc) · 1.14 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
plugins {
id("com.android.application")
}
android {
buildToolsVersion = "30.0.3"
compileSdk = 32
defaultConfig {
minSdk = 24
targetSdk = 32
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments["runnerBuilder"] = "de.mannodermaus.junit5.AndroidJUnit5Builder"
}
packagingOptions {
resources {
excludes.add("META-INF/LICENSE.md")
excludes.add("META-INF/LICENSE-notice.md")
}
}
}
dependencies {
androidTestImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
androidTestImplementation("de.mannodermaus.junit5:android-test-core:1.3.0") {
// Exclude junit:junit, because all tests are using Jupiter.
exclude(group = "junit", module = "junit")
}
androidTestImplementation("androidx.test:runner:1.4.0") {
// Exclude junit:junit, because all tests are using Jupiter.
exclude(group = "junit", module = "junit")
}
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0") {
// Exclude junit:junit, because all tests are using Jupiter.
exclude(group = "junit", module = "junit")
}
androidTestRuntimeOnly("de.mannodermaus.junit5:android-test-runner:1.3.0")
}