Skip to content

Compile properties as constants #127

Closed
@jasonmoore2k

Description

@jasonmoore2k

Rather than
case object BuildInfo { val version: String = "0.1.0-SNAPSHOT" }
could we do
case object BuildInfo { final val version = "0.1.0-SNAPSHOT" }
One reason for doing this would be so that these properties could be used as annotation arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions