File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import org.gradle.api.file.RegularFile
2626import org.gradle.api.provider.ListProperty
2727import org.gradle.api.provider.Provider
2828import org.gradle.api.tasks.testing.Test
29- import org.gradle.internal.impldep.io.opencensus.common.ExperimentalApi
3029import org.gradle.kotlin.dsl.assign
3130import org.gradle.kotlin.dsl.configure
3231import org.gradle.kotlin.dsl.register
@@ -92,11 +91,11 @@ internal fun Project.configureJacoco(
9291 }
9392
9493 // Collect all java and kotlin source directories from the variant's source sets
95- fun SourceDirectories.Flat.srcs (): Provider <List <String >> = this
94+ fun SourceDirectories.Flat.paths (): Provider <List <String >> = this
9695 .all
9796 .map { directories -> directories.map { it.asFile.path } }
9897 sourceDirectories.setFrom(
99- files(variant.sources.java?.srcs (), variant.sources.kotlin?.srcs ())
98+ files(variant.sources.java?.paths (), variant.sources.kotlin?.paths ())
10099 )
101100
102101 executionData.setFrom(
You can’t perform that action at this time.
0 commit comments