Consolidate testing functionality in a testing block

pull/1445/head
Tom Tresansky 1 year ago
parent d734dbc118
commit e124115cb5
No known key found for this signature in database
GPG Key ID: 99DCF7A2C0C53E39

@ -21,18 +21,20 @@ androidLibrary {
json() json()
} }
jacoco {
version = "0.8.7"
}
testOptions {
includeAndroidResources = true
returnDefaultValues = true
}
buildTypes { buildTypes {
// Need the empty closure to avoid "dangling pure expression" error // Need the empty closure to avoid "dangling pure expression" error
debug {} debug {}
release {} release {}
} }
testing {
jacoco {
version = "0.8.7"
}
testOptions {
includeAndroidResources = true
returnDefaultValues = true
}
}
} }

@ -10,13 +10,15 @@ androidLibrary {
testImplementation(project(":core:testing")) testImplementation(project(":core:testing"))
} }
jacoco {
version = "0.8.7"
}
buildTypes { buildTypes {
// Need the empty closure to avoid "dangling pure expression" error // Need the empty closure to avoid "dangling pure expression" error
debug {} debug {}
release {} release {}
} }
testing {
jacoco {
version = "0.8.7"
}
}
} }

Loading…
Cancel
Save