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,6 +21,13 @@ androidLibrary {
json() json()
} }
buildTypes {
// Need the empty closure to avoid "dangling pure expression" error
debug {}
release {}
}
testing {
jacoco { jacoco {
version = "0.8.7" version = "0.8.7"
} }
@ -29,10 +36,5 @@ androidLibrary {
includeAndroidResources = true includeAndroidResources = true
returnDefaultValues = true returnDefaultValues = true
} }
buildTypes {
// Need the empty closure to avoid "dangling pure expression" error
debug {}
release {}
} }
} }

@ -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