Skip to content

feat(kotlin): kapt opt-out and default-stage dedup across modules (#921)#922

Open
dieppa wants to merge 1 commit into
masterfrom
feature/ksp
Open

feat(kotlin): kapt opt-out and default-stage dedup across modules (#921)#922
dieppa wants to merge 1 commit into
masterfrom
feature/ksp

Conversation

@dieppa
Copy link
Copy Markdown
Member

@dieppa dieppa commented Jun 2, 2026

  • feat(kotlin): kapt opt-out and default-stage dedup across modules

Address the two Kotlin-support follow-ups captured after the #918
fix in KOTLIN_SUPPORT_FOLLOWUPS.md.

  • Kapt auto-apply opt-out via flamingock.autoApplyKapt Gradle
    property (default true; opt out with literal case-insensitive
    false). Gradle property, not DSL: the plugins { } block
    evaluates before flamingock { }, so a DSL setter would fire
    too late.

  • Mixed Java+Kotlin modules no longer produce duplicate
    default-stage entries in the composite pipeline.
    MetadataLoader.CompositePipelineBuilder now applies the same
    id-deduplicated same-name collapse to default stages that
    legacy stages already used. Identity-field mismatches still
    WARN for default stages so genuine misconfigurations stay
    visible.

* feat(kotlin): kapt opt-out and default-stage dedup across modules

Address the two Kotlin-support follow-ups captured after the #918
fix in KOTLIN_SUPPORT_FOLLOWUPS.md.

* Kapt auto-apply opt-out via `flamingock.autoApplyKapt` Gradle
  property (default true; opt out with literal case-insensitive
  `false`). Gradle property, not DSL: the `plugins { }` block
  evaluates before `flamingock { }`, so a DSL setter would fire
  too late.

* Mixed Java+Kotlin modules no longer produce duplicate
  default-stage entries in the composite pipeline.
  `MetadataLoader.CompositePipelineBuilder` now applies the same
  id-deduplicated same-name collapse to default stages that
  legacy stages already used. Identity-field mismatches still
  WARN for default stages so genuine misconfigurations stay
  visible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant