@Incubating open class CompareGradleBuilds : DefaultTask, VerificationTask
Executes two Gradle builds (that can be the same build) with specified versions and compares the outcomes. Please see the “Comparing Builds” chapter of the Gradle User Guide for more information.
CompareGradleBuilds() |
static val DEFAULT_TASKS: MutableList<String> |
open fun getIgnoreFailures(): Boolean
Whether a comparison between non identical builds will fail the task execution. |
|
open fun getReportDir(): File
The directory that will contain the HTML comparison report and any other report files. |
|
open fun getSourceBuild(): GradleBuildInvocationSpec
The specification of how to invoke the source build. Defaults to |
|
open fun getTargetBuild(): GradleBuildInvocationSpec
The specification of how to invoke the target build. Defaults to |
|
open fun setIgnoreFailures(ignoreFailures: Boolean): Unit
Sets whether a comparison between non identical builds will fail the task execution. |
|
open fun setReportDir(reportDir: File): Unit
Sets the directory that will contain the HTML comparison report and any other report files. open fun setReportDir(reportDir: Any): Unit
Sets the directory that will contain the HTML comparison report and any other report files. The value will be evaluated by |
|
open fun sourceBuild(config: Action<GradleBuildInvocationSpec>): Unit
Configures the source build. A Groovy closure can be used as the action.
|
|
open fun targetBuild(config: Action<GradleBuildInvocationSpec>): Unit
Configures the target build. A Groovy closure can be used as the action.
|