[Gradle] Handle kotlin.tests.individualTaskReports as boolean property
This commit is contained in:
committed by
Space Team
parent
9cefa346bd
commit
cc9a611c13
+2
-2
@@ -235,8 +235,8 @@ internal class PropertiesProvider private constructor(private val project: Proje
|
||||
* By default individual test tasks will not fail build if this task will be executed,
|
||||
* also individual html and xml reports will replaced by one consolidated html report.
|
||||
*/
|
||||
val individualTaskReports: Boolean?
|
||||
get() = booleanProperty("kotlin.tests.individualTaskReports")
|
||||
val individualTaskReports: Boolean
|
||||
get() = booleanProperty("kotlin.tests.individualTaskReports") ?: false
|
||||
|
||||
/**
|
||||
* Allow a user to choose distribution type. The following distribution types are available:
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ open class KotlinTestReport : TestReport() {
|
||||
|
||||
@get:Input
|
||||
val overrideReporting: Boolean by lazy {
|
||||
projectProperties.individualTaskReports == null
|
||||
!projectProperties.individualTaskReports
|
||||
}
|
||||
|
||||
@Input
|
||||
|
||||
Reference in New Issue
Block a user