/
build.gradle
45 lines (37 loc) · 1.15 KB
/
build.gradle
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
38
39
40
41
42
43
44
45
import org.robolectric.gradle.AndroidProjectConfigPlugin
apply plugin: 'com.android.library'
apply plugin: AndroidProjectConfigPlugin
android {
compileSdk 34
namespace 'org.robolectric.integrationtests.androidx'
defaultConfig {
minSdk 21
targetSdk 34
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
testOptions {
unitTests {
includeAndroidResources = true
}
}
}
dependencies {
implementation libs.kotlinx.coroutines.android
implementation libs.androidx.appcompat
implementation libs.androidx.window
// Testing dependencies
testImplementation project(":testapp")
testImplementation project(":robolectric")
testImplementation libs.junit4
testImplementation libs.androidx.test.core
testImplementation libs.androidx.core
testImplementation libs.androidx.test.runner
testImplementation libs.androidx.test.rules
testImplementation libs.androidx.test.espresso.intents
testImplementation libs.androidx.test.ext.truth
testImplementation libs.androidx.test.ext.junit
testImplementation libs.truth
}