bazel-contrib / bazel-contrib/rules_scala

support for java_plugins within scala_library rules

Open
#299 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
384
Forks
292
Avg merge
2d 22h
Merged PRs (30d)
47

Description

The built in [java_library](https://docs.bazel.build/versions/master/be/java.html#java_library) rule has support for [java_plugins](https://docs.bazel.build/versions/master/be/java.html#java_plugin) by way of the `plugins` attribute. scala_library also has a `plugins` attribute but I believe its only intended for scalac plugins, as one would expect.

Since the scala rules support compiling both java and scala sources, has anyone here had experience with integrating java a annotation processor with scala rules. If not, does anyone here have pointers on where to look?

Contributor guide

Open the contributing guide

Research direction

Start with the linked java_library and java_plugin documentation, then compare it with the scala_library plugins attribute described in the issue. No source files, tests, or settled expected behavior are named; progress requires defining whether Java annotation processors should be supported and how that support would be verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, scala
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.