Skip to content

Commit f1bfe34

Browse files
committed
nullability
1 parent c4cb8bc commit f1bfe34

File tree

1 file changed

+2
-3
lines changed
  • build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid

1 file changed

+2
-3
lines changed

build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Jacoco.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ internal fun Project.configureJacoco(
8989
}
9090

9191
// Collect all java and kotlin source directories from the variant's source sets
92-
// val sourceDirs =
9392
sourceDirectories.setFrom(
94-
variant.sources.kotlin?.all?.get(),
95-
variant.sources.java?.all?.get()
93+
variant.sources.kotlin?.all?.get().orEmpty(),
94+
variant.sources.java?.all?.get().orEmpty()
9695
)
9796

9897
executionData.setFrom(

0 commit comments

Comments
 (0)