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
26
26
import org.gradle.api.provider.ListProperty
27
27
import org.gradle.api.provider.Provider
28
28
import org.gradle.api.tasks.testing.Test
29
- import org.gradle.internal.impldep.io.opencensus.common.ExperimentalApi
30
29
import org.gradle.kotlin.dsl.assign
31
30
import org.gradle.kotlin.dsl.configure
32
31
import org.gradle.kotlin.dsl.register
@@ -92,11 +91,11 @@ internal fun Project.configureJacoco(
92
91
}
93
92
94
93
// 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
96
95
.all
97
96
.map { directories -> directories.map { it.asFile.path } }
98
97
sourceDirectories.setFrom(
99
- files(variant.sources.java?.srcs (), variant.sources.kotlin?.srcs ())
98
+ files(variant.sources.java?.paths (), variant.sources.kotlin?.paths ())
100
99
)
101
100
102
101
executionData.setFrom(
You can’t perform that action at this time.
0 commit comments