-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathMODULE.bazel
More file actions
96 lines (87 loc) · 4.13 KB
/
MODULE.bazel
File metadata and controls
96 lines (87 loc) · 4.13 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
module(
name = "rules_spring",
version = "2.6.3",
compatibility_level = 2,
repo_name = "rules_spring",
)
# Python for dupe class checking support
bazel_dep(name = "rules_python", version = "1.8.0")
# For License support
bazel_dep(name = "rules_license", version = "1.0.0")
# For unittest toolchain
bazel_dep(name = "bazel_skylib", version = "1.9.0")
bazel_dep(name = "rules_java", version = "9.3.0")
# DEV DEPENDENCIES
# Maven dependencies for the examples
bazel_dep(name = "rules_jvm_external", version = "6.9", dev_dependency = True)
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven", dev_dependency = True)
maven.install(
artifacts = [
"org.slf4j:slf4j-api:2.0.17",
"org.springframework.boot:spring-boot:3.4.4",
"org.springframework.boot:spring-boot-actuator:3.4.4",
"org.springframework.boot:spring-boot-actuator-autoconfigure:3.4.4",
"org.springframework.boot:spring-boot-autoconfigure:3.4.4",
"org.springframework.boot:spring-boot-configuration-processor:3.4.4",
"org.springframework.boot:spring-boot-loader:3.4.4",
"org.springframework.boot:spring-boot-loader-tools:3.4.4",
"org.springframework.boot:spring-boot-jarmode-tools:3.4.4",
"org.springframework.boot:spring-boot-starter:3.4.4",
"org.springframework.boot:spring-boot-starter-actuator:3.4.4",
"org.springframework.boot:spring-boot-starter-freemarker:3.4.4",
"org.springframework.boot:spring-boot-starter-jdbc:3.4.4",
"org.springframework.boot:spring-boot-starter-jetty:3.4.4",
"org.springframework.boot:spring-boot-starter-logging:3.4.4",
"org.springframework.boot:spring-boot-starter-security:3.4.4",
"org.springframework.boot:spring-boot-starter-test:3.4.4",
"org.springframework.boot:spring-boot-starter-web:3.4.4",
"org.springframework.boot:spring-boot-test:3.4.4",
"org.springframework.boot:spring-boot-test-autoconfigure:3.4.4",
"org.springframework.boot:spring-boot-starter-thymeleaf:3.4.4",
"org.springframework:spring-aop:6.2.5",
"org.springframework:spring-aspects:6.2.5",
"org.springframework:spring-beans:6.2.5",
"org.springframework:spring-context:6.2.5",
"org.springframework:spring-context-support:6.2.5",
"org.springframework:spring-core:6.2.5",
"org.springframework:spring-expression:6.2.5",
"org.springframework:spring-jdbc:6.2.5",
"org.springframework:spring-test:6.2.5",
"org.springframework:spring-tx:6.2.5",
"org.springframework:spring-web:6.2.5",
"org.springframework:spring-webmvc:6.2.5",
# intentionally ancient version annotation-api; in demoapp we use
# a filter to exclude this dependency
"javax.annotation:javax.annotation-api:1.3.2",
# test deps
"junit:junit:4.13.2",
"org.hamcrest:hamcrest-core:2.2",
"org.assertj:assertj-core:3.25.3",
],
lock_file = "//:maven_install.json",
)
use_repo(maven, "maven")
unmanaged_maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven", dev_dependency = True)
unmanaged_maven.install(
name = "unmanaged_deps_filter",
artifacts = [
"org.springframework.boot:spring-boot-starter-data-jpa:3.3.11",
"org.springframework.boot:spring-boot-starter-security:3.3.11",
"com.fasterxml.jackson.core:jackson-databind:2.17.2",
"org.hibernate.orm:hibernate-core:6.4.4.Final",
"org.springframework.boot:spring-boot-starter-oauth2-client:3.3.11",
"org.springframework.boot:spring-boot-starter-webflux:3.3.11",
"org.springframework.boot:spring-boot-starter-actuator:3.3.11",
"jakarta.servlet.jsp:jakarta.servlet.jsp-api:3.1.1",
"junit:junit:4.13.2",
"org.assertj:assertj-core:3.26.0",
"io.micrometer:micrometer-commons:1.13.13",
"org.slf4j:jul-to-slf4j:2.0.17",
],
excluded_artifacts = [
"org.slf4j:slf4j-api",
"org.yaml:snakeyaml",
],
lock_file = "//springboot/deps_filter_rules/tests/external_deps:unmanaged_deps_filter_install.json",
)
use_repo(unmanaged_maven, "unmanaged_deps_filter")