diff --git a/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Jacoco.kt b/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Jacoco.kt index f8d8d567c..ed1ea4254 100644 --- a/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Jacoco.kt +++ b/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Jacoco.kt @@ -94,11 +94,10 @@ internal fun Project.configureJacoco( ?.all ?.map { directories -> directories.map { it.asFile.path } } ?: provider { emptyList() } - operator fun Provider>.plus(other: Provider>) = - zip(other) { first, second -> first + second } sourceDirectories.setFrom( files( - variant.sources.java.toFilePaths() + variant.sources.kotlin.toFilePaths() + variant.sources.java.toFilePaths(), + variant.sources.kotlin.toFilePaths() ), )