bazel-contrib / bazel-contrib/rules_scala

Add support for an explicit srcjar for scala_import

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

Description

It would be nice to have `scala_import` be on par with [`java_import`](https://docs.bazel.build/versions/master/be/java.html#java_import) in this regard, especially since `scala_import_external` suggests it should be supported.

I could probably take on fixing this if somebody could mentor me regarding a preferred solution.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the existing scala_import behavior with java_import's explicit srcjar support and the scala_import_external rule, which the issue identifies as relevant entry points. Trace how srcjars are represented and determine what tests cover these rules; done means scala_import accepts and uses an explicit srcjar consistently with the requested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.