blob: 772f58346e3c35972914ec3f4929a1209075bb9c [file] [log] [blame]
module(
name = "stardoc",
version = "0.7.0",
bazel_compatibility = [">=7.0.0"],
compatibility_level = 1,
)
bazel_dep(name = "bazel_skylib", version = "1.6.1")
bazel_dep(name = "rules_java", version = "7.6.1")
bazel_dep(name = "rules_jvm_external", version = "6.1")
bazel_dep(name = "rules_license", version = "0.0.7")
bazel_dep(name = "rules_proto", version = "6.0.2")
bazel_dep(name = "toolchains_protoc", version = "0.3.1")
# Maven artifacts required by Stardoc; keep consistent with deps.bzl
STARDOC_MAVEN_ARTIFACTS = [
"com.beust:jcommander:1.82",
"com.google.escapevelocity:escapevelocity:1.1",
"com.google.guava:guava:31.1-jre",
"com.google.truth:truth:1.1.3",
"junit:junit:4.13.2",
"com.google.protobuf:protobuf-java:4.27.1",
]
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
name = "stardoc_maven",
artifacts = STARDOC_MAVEN_ARTIFACTS,
fail_if_repin_required = True,
lock_file = "//:maven_install.json",
repositories = [
"https://repo1.maven.org/maven2",
],
strict_visibility = True,
)
use_repo(maven, "stardoc_maven")
### INTERNAL ONLY - lines after this are not included in the release packaging.
#
# Dev-only and test-only dependencies
bazel_dep(name = "rules_pkg", version = "0.10.1", dev_dependency = True)
register_toolchains("//toolchains:all")