Skip to content

gazelle plugin #1759

@jvandew

Description

@jvandew

There was a thread on Bazel slack some weeks back asking about options for BUILD file generation with Scala. There are at least 3 options that came up there:

I wanted to at least start a discussion about whether there is any appetite for upstreaming a solution for this... I am obviously biased towards the Foursquare plugin -- it is fast, battle tested in 2 of our repos on ~2M lines of Scala code, Gazelle is the general Bazel tool of choice here, and it has someone willing to put the effort into seeing it adopted (me) -- but Scala is one of the last major Bazel rulesets without an "official" solution for BUILD generation, so it would be awesome to see anything gain traction. To my knowledge there is nothing with meaningful community adoption currently.

There is maybe also an open question as to whether this discussion makes more sense here or in rules_jvm, as a Scala Gazelle plugin could in theory share logic with the existing Java plugin for, e.g., handling Maven jars. But I figured here is as good a place as any to start 😄

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