Skip to content

Commit bddf064

Browse files
authored
chore(all): Make all modules use test orchestrator (#3030)
1 parent 4cf9f34 commit bddf064

File tree

4 files changed

+7
-27
lines changed

4 files changed

+7
-27
lines changed

apollo/apollo-appsync-amplify/build.gradle.kts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ group = properties["POM_GROUP"].toString()
1818

1919
android {
2020
namespace = "com.amplifyframework.apollo.appsync"
21-
defaultConfig {
22-
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
23-
}
24-
25-
testOptions {
26-
execution = "ANDROIDX_TEST_ORCHESTRATOR"
27-
}
2821
}
2922

3023
apollo {

aws-api/build.gradle.kts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ group = properties["POM_GROUP"].toString()
2525

2626
android {
2727
namespace = "com.amplifyframework.api.aws"
28-
defaultConfig {
29-
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
30-
}
31-
32-
testOptions {
33-
execution = "ANDROIDX_TEST_ORCHESTRATOR"
34-
}
3528
}
3629

3730
dependencies {

aws-storage-s3/build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ group = properties["POM_GROUP"].toString()
2525

2626
android {
2727
namespace = "com.amplifyframework.storage.s3"
28-
defaultConfig {
29-
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
30-
}
31-
testOptions {
32-
execution = "ANDROIDX_TEST_ORCHESTRATOR"
33-
}
3428
}
3529

3630
dependencies {

build.gradle.kts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ fun Project.configureAndroid() {
148148
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
149149
testInstrumentationRunnerArguments += "clearPackageData" to "true"
150150
consumerProguardFiles += rootProject.file("configuration/consumer-rules.pro")
151+
buildConfigField("String", "VERSION_NAME", "\"$sdkVersionName\"")
152+
}
151153

152-
testOptions {
153-
animationsDisabled = true
154-
unitTests {
155-
isIncludeAndroidResources = true
156-
}
154+
testOptions {
155+
animationsDisabled = true
156+
unitTests {
157+
isIncludeAndroidResources = true
157158
}
158-
159-
buildConfigField("String", "VERSION_NAME", "\"$sdkVersionName\"")
159+
execution = "ANDROIDX_TEST_ORCHESTRATOR"
160160
}
161161

162162
lint {

0 commit comments

Comments
 (0)