rules_scala
rules_scala copied to clipboard
Should scala_binary and scala_tests rules inherit behavior from *_binary and *_tests?
trafficstars
i.e. like java_binary and java_test. One example is how scala_tests don't have the env attribute from java_test. I believe that Bazel inherits attributes by depending on their "parent" classes(?) when specifying the rule in .java files, so this would be a departure from how we are currently specifying _impls in Starlark.
Common attributes: https://docs.bazel.build/versions/3.1.0/be/common-definitions.html#common-attributes-tests
@wiwa could you expand more about what you mean with "Bazel inherits attributes by depending on their "parent" classes" in context of Rules Scala?