Class VersionReportExtension
java.lang.Object
io.github.duckasteroid.gradle.versioning.releaseflow.VersionReportExtension
Gradle-facing configuration for explainVersion/explainVersions' structured JSON report,
registered by
ReleaseFlowPlugin as the versionReport { } extension. The console
breakdown these tasks print always happens regardless of this extension - it only controls the
build/version-report.json file.
Plain scalar Property<T>s, like ChangelogExtension/ReleaseCandidatesExtension
- no SetProperty append-vs-replace gotcha here, .convention(...) works exactly as expected.
versionReport {
enabled = false // default: true
outputFile = layout.buildDirectory.file('reports/version.json') // default: build/version-report.json
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.provider.Property<Boolean>abstract org.gradle.api.file.RegularFileProperty
-
Constructor Details
-
VersionReportExtension
public VersionReportExtension()
-
-
Method Details
-
getEnabled
-
getOutputFile
public abstract org.gradle.api.file.RegularFileProperty getOutputFile()
-