We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d45a7c commit 192a3a6Copy full SHA for 192a3a6
build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Jacoco.kt
@@ -91,11 +91,14 @@ internal fun Project.configureJacoco(
91
}
92
93
// Collect all java and kotlin source directories from the variant's source sets
94
- fun SourceDirectories.Flat.paths(): Provider<List<String>> = this
+ fun SourceDirectories.Flat.toFilePaths(): Provider<List<String>> = this
95
.all
96
.map { directories -> directories.map { it.asFile.path } }
97
sourceDirectories.setFrom(
98
- files(variant.sources.java?.paths(), variant.sources.kotlin?.paths())
+ files(
99
+ variant.sources.java?.toFilePaths(),
100
+ variant.sources.kotlin?.toFilePaths()
101
+ )
102
)
103
104
executionData.setFrom(
0 commit comments