diff --git a/rules/private/phases/phase_semanticdb.bzl b/rules/private/phases/phase_semanticdb.bzl index 1c8ac99a..3d2d7f87 100644 --- a/rules/private/phases/phase_semanticdb.bzl +++ b/rules/private/phases/phase_semanticdb.bzl @@ -34,7 +34,6 @@ def phase_semanticdb(ctx, g): outputs.append(ctx.actions.declare_file(path)) - def add_scalacopts(arguments): if len(outputs) == 0: return diff --git a/tests/plugins/semanticdb/BUILD b/tests/plugins/semanticdb/BUILD index ea321ab5..af8698e5 100644 --- a/tests/plugins/semanticdb/BUILD +++ b/tests/plugins/semanticdb/BUILD @@ -1,6 +1,6 @@ -load(":rule.bzl", "read_semanticdb_info") load("@rules_scala_annex//rules:scala.bzl", "configure_zinc_scala", "scala_library") load("@rules_scala_annex//rules/scala:workspace.bzl", "scala_2_13_version", "scala_3_version") +load(":rule.bzl", "read_semanticdb_info") configure_zinc_scala( name = "scala_2_13_with_semanticdb", diff --git a/tests/plugins/semanticdb/rule.bzl b/tests/plugins/semanticdb/rule.bzl index 286061b1..7697ad3e 100644 --- a/tests/plugins/semanticdb/rule.bzl +++ b/tests/plugins/semanticdb/rule.bzl @@ -21,6 +21,5 @@ read_semanticdb_info = rule( providers = [SemanticDbInfo], ), }, - implementation = _read_semanticdb_info_impl, )