Class ChangelogExtension

java.lang.Object
io.github.duckasteroid.gradle.versioning.releaseflow.ChangelogExtension

public abstract class ChangelogExtension extends Object
Gradle-facing configuration for ChangelogGenerator, registered by ReleaseFlowPlugin as the changelog { } extension. Only rcScope exists - there's no equivalent choice for the final release, which always covers everything since the last release regardless (see ChangelogScope).

Unlike io.github.duckasteroid.gradle.versioning.CommitAnalyzerExtension's SetProperty-s, this is a plain scalar Property<ChangelogScope>, so the usual convention()-vs-addAll() gotcha doesn't apply here - there's no "append" operation for a single value, .convention(...) works exactly as expected as a plain fallback.

 changelog {
     rcScope = ChangelogScope.SINCE_PREVIOUS_RC   // default: SINCE_LAST_RELEASE
 }
 
  • Constructor Details

    • ChangelogExtension

      public ChangelogExtension()
  • Method Details

    • getRcScope

      public abstract org.gradle.api.provider.Property<ChangelogScope> getRcScope()