| module( |
| name = "stardoc", |
| version = "0.6.1", |
| compatibility_level = 1, |
| ) |
| |
| bazel_dep(name = "bazel_skylib", version = "1.4.2") |
| bazel_dep(name = "rules_java", version = "6.1.1") |
| bazel_dep(name = "rules_jvm_external", version = "4.5") |
| bazel_dep(name = "rules_license", version = "0.0.7") |
| bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf") |
| |
| # 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", |
| ] |
| |
| 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") |