Skip to content

Commit 47c9956

Browse files
authored
Replacing deprecated method Report.setEnabled with Provider.required.set (#260)
1 parent ad9e922 commit 47c9956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/android-junit5/src/main/kotlin/de/mannodermaus/gradle/plugins/junit5/tasks/AndroidJUnit5JacocoReport.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public abstract class AndroidJUnit5JacocoReport : JacocoReport() {
9393
)
9494

9595
allReports.forEach { (from, to) ->
96-
to.isEnabled = from.enabled
96+
to.required.set(from.enabled)
9797
from.destination?.let { to.destination = it }
9898
}
9999

0 commit comments

Comments
 (0)