forked from jond3k/maven-wagon-gs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
MODULE.bazel
43 lines (33 loc) · 1.71 KB
/
MODULE.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module(name = "maven_wagon_gs")
bazel_dep(name = "aspect_rules_lint", version = "1.0.3")
register_toolchains("//:java_toolchain_definition")
# ╔════════════════════════════════════════════════════════════════════════════╗
# ║ Maven ║
# ╚════════════════════════════════════════════════════════════════════════════╝
bazel_dep(name = "rules_jvm_external", version = "6.6")
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
MAVEN_WAGON_VERSION = "3.5.3"
maven.install(
name = "maven_wagon_gs_maven",
artifacts = [
# Maven Wagon
"org.apache.maven.wagon:wagon-provider-api:%s" % MAVEN_WAGON_VERSION,
"org.apache.maven.wagon:wagon-provider-test:%s" % MAVEN_WAGON_VERSION,
# Google Cloud Storage
"com.google.cloud:google-cloud-storage:2.45.0",
"com.google.cloud:google-cloud-nio:0.127.27",
# Logging
"org.slf4j:slf4j-jdk14:2.0.16",
# Dev tools
"com.google.googlejavaformat:google-java-format:1.24.0",
],
excluded_artifacts = [
"com.google.collections:google-collections",
],
fail_if_repin_required = True,
fetch_sources = True,
lock_file = "//:maven.lock",
repositories = ["https://repo1.maven.org/maven2"],
version_conflict_policy = "pinned",
)
use_repo(maven, "maven_wagon_gs_maven", "unpinned_maven_wagon_gs_maven")