Skip to content

Make publishingType more typesafe #182

Description

@martinbonnin

Use sealed classes/interfaces instead of a String.

See #169 (comment) for more details.

API compatibility and migration path TBD.

Activity

  1. hfhbd commented on Jan 25, 2026

    @hfhbd

    Enum would be better for Groovy support (if you care :)

  2. martinbonnin commented on Jan 25, 2026

    @martinbonnin
    MemberAuthor

    Right. FWIW, I tried to use an enum in tapmoc and the ergonomics weren't great because of an issue in IJ autocomplete. I like type safety in general but I don't like the current experience in Gradle build scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions