Skip to content

Commit

Permalink
init.bzl modified
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-skrodzka committed Oct 25, 2024
1 parent 1bd2692 commit ffbbc85
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion rules/scala/init.bzl
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
load("@bazel_features//:deps.bzl", "bazel_features_deps")
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies")
load("@rules_proto//proto:toolchains.bzl", "rules_proto_toolchains")
load("//3rdparty:workspace.bzl", "maven_dependencies")
load("//rules/scala_proto/3rdparty:workspace.bzl", maven_dependencies_scala_proto = "maven_dependencies")
load("//rules/scalafmt:config.bzl", "scalafmt_default_config")
load("//rules/scalafmt/3rdparty:workspace.bzl", maven_dependencies_scalafmt = "maven_dependencies")
load("//scala/3rdparty:workspace.bzl", maven_dependencies_scala = "maven_dependencies")

def load_maven_dependencies():
maven_dependencies()
maven_dependencies_scala_proto()
maven_dependencies_scalafmt()
maven_dependencies_scala()

def rules_scala3_init():
protobuf_deps()

rules_proto_dependencies()
rules_proto_toolchains()

bazel_features_deps()

load_maven_dependencies()
scalafmt_default_config(".scalafmt.conf")

0 comments on commit ffbbc85

Please sign in to comment.